aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-11-11 08:10:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-11-11 08:10:02 +0000
commit7c4155988773a52aaa945eb1aca3feade07d8e08 (patch)
tree9169c5a83cba5b811427b899d8404b64b9cfbf1a /target
parent207e5d51075d33d05f99e3fce09c49fb4f07ee6a (diff)
downloadupstream-7c4155988773a52aaa945eb1aca3feade07d8e08.tar.gz
upstream-7c4155988773a52aaa945eb1aca3feade07d8e08.tar.bz2
upstream-7c4155988773a52aaa945eb1aca3feade07d8e08.zip
ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38720 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c2
1 files changed, 1 insertions, 1 deletions
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 f87fbf82e5..476cff8d2e 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,