summaryrefslogtreecommitdiff
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
commit3b8c51771da376aa6ca810c12866ffa4de4417e9 (patch)
tree6708589c1a49b6909efd39350921e9f57e612222 /target/linux/ar71xx/files/arch
parentb503dc026eb008e4ac95f36f17d278e7c69bad9d (diff)
downloadmtk-20170518-3b8c51771da376aa6ca810c12866ffa4de4417e9.zip
mtk-20170518-3b8c51771da376aa6ca810c12866ffa4de4417e9.tar.gz
mtk-20170518-3b8c51771da376aa6ca810c12866ffa4de4417e9.tar.bz2
ar71xx: wpe72: set active_low flag for the reset button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39401
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 114d623..70bf7db 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,
}
};