summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-23 12:23:08 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-23 12:23:08 +0000
commit818b6f13ff66768d51294d03eaeea497c0796538 (patch)
tree3c09feb539ee7b2c6cc4fdb7c063ce34a7643e8f /target/linux/ar71xx
parent71d3e66192934f72ce0cbb2a4cb1c2c3198db93d (diff)
ar71xx: wp543: use KEY_RESET code for the sw4 button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39374 3c298f89-4303-0410-b956-a3cf2f4a3e73
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,
}