mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
ar71xx: wp543: set active_low flag for the buttons
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39400
This commit is contained in:
parent
a2543d72d8
commit
b503dc026e
@ -62,12 +62,14 @@ static struct gpio_keys_button wp543_gpio_keys[] __initdata = {
|
||||
.code = BTN_0,
|
||||
.debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = WP543_GPIO_SW6,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.desc = "sw4",
|
||||
.type = EV_KEY,
|
||||
.code = KEY_RESTART,
|
||||
.debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = WP543_GPIO_SW4,
|
||||
.active_low = 1,
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user