openwrtv4/target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch
Florian Fainelli 5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
2012-05-02 15:40:26 +00:00

20 lines
451 B
Diff

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -664,6 +664,17 @@ static struct board_info __initdata boar
.active_low = 1,
},
},
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 6,
+ .active_low = 1,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
};
static struct board_info __initdata board_96348gw_11 = {