diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-02-19 11:52:15 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-02-19 11:52:15 +0000 |
commit | b00fe580edf0015155385cc41f06518121e9c7a0 (patch) | |
tree | c60e3871bf63e2a3ff102e1269f8c9d2ad3b7f2d | |
parent | 3c96b41d69d66bc417494cc903d1e5e647f2a4a2 (diff) | |
download | mtk-20170518-b00fe580edf0015155385cc41f06518121e9c7a0.zip mtk-20170518-b00fe580edf0015155385cc41f06518121e9c7a0.tar.gz mtk-20170518-b00fe580edf0015155385cc41f06518121e9c7a0.tar.bz2 |
ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>
SVN-Revision: 19743
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c index eaa9654..c625fc9 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c @@ -128,18 +128,21 @@ static struct gpio_button wndr3700_gpio_buttons[] __initdata = { .code = BTN_0, .threshold = 3, .gpio = WNDR3700_GPIO_BTN_RESET, + .active_low = 1, }, { .desc = "wps", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = WNDR3700_GPIO_BTN_WPS, + .active_low = 1, } , { .desc = "wifi", .type = EV_KEY, .code = BTN_2, .threshold = 3, .gpio = WNDR3700_GPIO_BTN_WIFI, + .active_low = 1, } }; |