summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-21 19:07:19 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-21 19:07:19 +0000
commite1b44378beea16bce00c3bda5d94fd13358a4c15 (patch)
tree9ef092f468cf3db4509dfdd361b1411c56295bd1 /target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c
parent00e98778b861d0bb3064da5f220c23e31deca5a5 (diff)
ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c
index b52cc601f..c12b0a041 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c
@@ -147,14 +147,14 @@ static struct gpio_button wzrhpg300nh_gpio_buttons[] __initdata = {
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = WZRHPG300NH_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "aoss",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = WZRHPG300NH_GPIO_BTN_AOSS,
.active_low = 1,