diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-04-22 09:25:37 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-04-22 09:25:37 +0000 |
commit | 60cbdbb686c4e5572644b550c13c7182c6f99766 (patch) | |
tree | 2615824e9138b6937e3e36e88344635528079bef /target/linux/ramips/files/arch/mips/ralink/rt288x | |
parent | 4be3c3e48c90a8fb53f742d005db92088a90c575 (diff) | |
download | upstream-60cbdbb686c4e5572644b550c13c7182c6f99766.tar.gz upstream-60cbdbb686c4e5572644b550c13c7182c6f99766.tar.bz2 upstream-60cbdbb686c4e5572644b550c13c7182c6f99766.zip |
ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21083
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c index 1a869afacf..05ea79bff9 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c @@ -84,14 +84,14 @@ static struct gpio_button rt_n15_gpio_buttons[] __initdata = { { .desc = "reset", .type = EV_KEY, - .code = BTN_0, + .code = KEY_RESTART, .threshold = 3, .gpio = RT_N15_GPIO_BUTTON_RESET, .active_low = 1, }, { .desc = "wps", .type = EV_KEY, - .code = BTN_1, + .code = KEY_WPS_BUTTON, .threshold = 3, .gpio = RT_N15_GPIO_BUTTON_WPS, .active_low = 1, |