aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-07-02 10:45:32 +0000
committerLuka Perkov <luka@openwrt.org>2013-07-02 10:45:32 +0000
commite29dea1e320c49d971387fd8f6ba3829e777fcae (patch)
tree2cfab54d86c8b0cee39af397d9ca8042e59d3647 /target
parent1e25a08d13971200dfc496ca42dbbd8bd2931443 (diff)
downloadmaster-187ad058-e29dea1e320c49d971387fd8f6ba3829e777fcae.tar.gz
master-187ad058-e29dea1e320c49d971387fd8f6ba3829e777fcae.tar.bz2
master-187ad058-e29dea1e320c49d971387fd8f6ba3829e777fcae.zip
ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button type
switch buttons should be declared as switch so the failsafe shell is not triggered by accident in procd Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37131 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
index 9ba5ecd2ea..824ac52d32 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
@@ -140,21 +140,21 @@ static struct gpio_keys_button wzrhpag300h_gpio_keys[] __initdata = {
.active_low = 1,
}, {
.desc = "router_auto",
- .type = EV_KEY,
+ .type = EV_SW,
.code = BTN_6,
.debounce_interval = WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL,
.gpio = 6,
.active_low = 1,
}, {
.desc = "router_off",
- .type = EV_KEY,
+ .type = EV_SW,
.code = BTN_5,
.debounce_interval = WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL,
.gpio = 7,
.active_low = 1,
}, {
.desc = "movie_engine",
- .type = EV_KEY,
+ .type = EV_SW,
.code = BTN_7,
.debounce_interval = WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL,
.gpio = 8,