1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[brcm63xx] use a define for the poll and debounce interval

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31550 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-05-02 15:40:26 +00:00
parent 67861b3726
commit a1c9b29340
35 changed files with 111 additions and 98 deletions

View File

@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1303,6 +1303,99 @@ static struct board_info __initdata boar
@@ -1306,6 +1306,99 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
@@ -87,14 +87,14 @@
+ .active_low = 1,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .debounce_interval = 60,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ {
+ .desc = "wps",
+ .gpio = 34,
+ .type = EV_KEY,
+ .code = KEY_WPS_BUTTON,
+ .debounce_interval = 60,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
};