ar71xx: fix polarity of GPIO buttons on the WNDR3700 board

Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19743
owl
Gabor Juhos 2010-02-19 11:52:15 +00:00
parent 3c96b41d69
commit b00fe580ed
1 changed files with 3 additions and 0 deletions

View File

@ -128,18 +128,21 @@ static struct gpio_button wndr3700_gpio_buttons[] __initdata = {
.code = BTN_0, .code = BTN_0,
.threshold = 3, .threshold = 3,
.gpio = WNDR3700_GPIO_BTN_RESET, .gpio = WNDR3700_GPIO_BTN_RESET,
.active_low = 1,
}, { }, {
.desc = "wps", .desc = "wps",
.type = EV_KEY, .type = EV_KEY,
.code = BTN_1, .code = BTN_1,
.threshold = 3, .threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WPS, .gpio = WNDR3700_GPIO_BTN_WPS,
.active_low = 1,
} , { } , {
.desc = "wifi", .desc = "wifi",
.type = EV_KEY, .type = EV_KEY,
.code = BTN_2, .code = BTN_2,
.threshold = 3, .threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WIFI, .gpio = WNDR3700_GPIO_BTN_WIFI,
.active_low = 1,
} }
}; };