ar71xx: wp543: use KEY_RESET code for the sw4 button

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

SVN-Revision: 39374
master
Gabor Juhos 11 years ago
parent cbc892a549
commit b629009eaa
  1. 2
      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", .desc = "sw4",
.type = EV_KEY, .type = EV_KEY,
.code = BTN_1, .code = KEY_RESTART,
.debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL, .debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
.gpio = WP543_GPIO_SW4, .gpio = WP543_GPIO_SW4,
} }

Loading…
Cancel
Save