diff options
author | Luka Perkov <luka@openwrt.org> | 2013-07-02 10:45:32 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-07-02 10:45:32 +0000 |
commit | c9926f77b450d45fa30356fa77d6477356982ab5 (patch) | |
tree | 23cf5b948f3860f73bf112248d8c30e488bc4632 /target/linux | |
parent | 6988613f7ae628f14d6b25add7054ebb6a0364a5 (diff) | |
download | upstream-c9926f77b450d45fa30356fa77d6477356982ab5.tar.gz upstream-c9926f77b450d45fa30356fa77d6477356982ab5.tar.bz2 upstream-c9926f77b450d45fa30356fa77d6477356982ab5.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>
SVN-Revision: 37131
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c | 6 |
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, |