ar71xx: wp543: use KEY_RESET code for the sw4 button

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39374 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2014-01-23 12:23:08 +00:00
parent 3cac2d1206
commit 8239906df5
1 changed files with 1 additions and 1 deletions

View File

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