ar71xx: wpe72: set active_low flag for the reset button
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 Jan 2014 14:55:34 +0000 (14:55 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 26 Jan 2014 14:55:34 +0000 (14:55 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39401

target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c

index 114d6233c327cc672b90801ada9c4e99e88b4c59..70bf7db0ca73b8abd4576e7085bbef93ca4579c5 100644 (file)
@@ -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,
        }
 };