ar71xx: wp543: use KEY_RESET code for the sw4 button

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39374
This commit is contained in:
Gabor Juhos 2014-01-23 12:23:08 +00:00
parent cbc892a549
commit b629009eaa

View file

@ -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,
}