aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-01-23 12:23:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-01-23 12:23:08 +0000
commitb629009eaa3e6bb877ac2d097c0529d2323bad3a (patch)
tree2163eb7356325516dd37c1c26689a214fba99443 /target/linux/ar71xx
parentcbc892a549d0331542854fd62c8ffc4faee9900b (diff)
downloadupstream-b629009eaa3e6bb877ac2d097c0529d2323bad3a.tar.gz
upstream-b629009eaa3e6bb877ac2d097c0529d2323bad3a.tar.bz2
upstream-b629009eaa3e6bb877ac2d097c0529d2323bad3a.zip
ar71xx: wp543: use KEY_RESET code for the sw4 button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39374
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c
index 148cd7c7f2..0c890ea97d 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c
@@ -65,7 +65,7 @@ static struct gpio_keys_button wp543_gpio_keys[] __initdata = {
}, {
.desc = "sw4",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_RESTART,
.debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
.gpio = WP543_GPIO_SW4,
}