switch buttons should be declared as switch so the failsafe shell is not triggered by accident in procd Signed-off-by: Luka Perkov <[email protected]> SVN-Revision: 37131
@@ -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,
.desc = "router_off",
.code = BTN_5,
.gpio = 7,
.desc = "movie_engine",
.code = BTN_7,
.gpio = 8,