From 25756c61bcdf5c9a71d674cbffa330ef61ff8b0f Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 11 Nov 2013 08:10:02 +0000 Subject: [PATCH] ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards Signed-off-by: Christian Lamparter Signed-off-by: Gabor Juhos SVN-Revision: 38720 --- target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c index f87fbf82e5af..476cff8d2e5d 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c @@ -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, -- 2.30.2