summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-26 14:55:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-26 14:55:34 +0000
commit233cc9a8703bd1e68f56ad3ff36fdeeb87528e7b (patch)
tree2e17adad272b4fd533b3168abf58bab1b0caffcd /target
parent6d6aeeaed01b51743a76e9bb20298cdc4e018065 (diff)
ar71xx: wpe72: set active_low flag for the reset button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39401 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c
index 114d6233c3..70bf7db0ca 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c
@@ -59,6 +59,7 @@ static struct gpio_keys_button wpe72_gpio_keys[] __initdata = {
.code = KEY_RESTART,
.debounce_interval = WPE72_KEYS_DEBOUNCE_INTERVAL,
.gpio = WPE72_GPIO_RESET,
+ .active_low = 1,
}
};