diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-21 19:07:19 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-21 19:07:19 +0000 |
commit | e1b44378beea16bce00c3bda5d94fd13358a4c15 (patch) | |
tree | 9ef092f468cf3db4509dfdd361b1411c56295bd1 /target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c | |
parent | 00e98778b861d0bb3064da5f220c23e31deca5a5 (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-wrt400n.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c index 5ed0b6058..d28193850 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c @@ -114,14 +114,14 @@ static struct gpio_button wrt400n_gpio_buttons[] __initdata = { { .desc = "reset", .type = EV_KEY, - .code = BTN_0, + .code = KEY_RESTART, .threshold = 3, .gpio = WRT400N_GPIO_BTN_RESET, .active_low = 1, } , { .desc = "wlsec", .type = EV_KEY, - .code = BTN_1, + .code = KEY_WPS_BUTTON, .threshold = 3, .gpio = WRT400N_GPIO_BTN_WLSEC, .active_low = 1, |