1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:06:31 +02:00

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
This commit is contained in:
juhosg 2010-02-19 11:52:15 +00:00
parent 3d367153b8
commit 0a0ed2c3ec

View File

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