ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards
authorGabor Juhos <juhosg@openwrt.org>
Mon, 11 Nov 2013 08:10:02 +0000 (08:10 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 11 Nov 2013 08:10:02 +0000 (08:10 +0000)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38720

target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c

index f87fbf82e5afd7be74ed93b24f0fc2d2ca1b2b9a..476cff8d2e5d104fc34c32de86f790eb014d8159 100644 (file)
@@ -100,7 +100,7 @@ static struct gpio_keys_button mynet_n600_gpio_keys[] __initdata = {
        {
                .desc           = "Reset button",
                .type           = EV_KEY,
-               .code           = KEY_WPS_BUTTON,
+               .code           = KEY_RESTART,
                .debounce_interval = MYNET_N600_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = MYNET_N600_GPIO_BTN_RESET,
                .active_low     = 1,