aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-19 11:52:15 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-19 11:52:15 +0000
commit9ddc13caf9de204dd682cdc8fc069cc483838e78 (patch)
treec900dd96841922d1c2a4f8f2adf1ef4131c74348
parentf123d29b79fa22d1d5443035b760a68ea8a0af6e (diff)
downloadupstream-9ddc13caf9de204dd682cdc8fc069cc483838e78.tar.gz
upstream-9ddc13caf9de204dd682cdc8fc069cc483838e78.tar.bz2
upstream-9ddc13caf9de204dd682cdc8fc069cc483838e78.zip
ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19743 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c3
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 eaa9654aaa..c625fc980a 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,
}
};