aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-01-26 14:55:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-01-26 14:55:34 +0000
commit2c12615b7bfcc360acb737782092dafa89f20026 (patch)
tree2e17adad272b4fd533b3168abf58bab1b0caffcd /target/linux/ar71xx/files/arch
parent6ffca5f8abaec8c3e2b2e9f1535c8fa0a36da9e2 (diff)
downloadupstream-2c12615b7bfcc360acb737782092dafa89f20026.tar.gz
upstream-2c12615b7bfcc360acb737782092dafa89f20026.tar.bz2
upstream-2c12615b7bfcc360acb737782092dafa89f20026.zip
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/linux/ar71xx/files/arch')
-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,
}
};