diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-05-02 15:40:26 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-05-02 15:40:26 +0000 |
commit | a9d023be0165824f8ab0986da7023508ffb96fd5 (patch) | |
tree | fc302d64947db3cf0fc8ad14b983b23d5d8bad6a /target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch | |
parent | 05e668d206b5843c9bd6be3699d59a87f186a1e1 (diff) | |
download | master-187ad058-a9d023be0165824f8ab0986da7023508ffb96fd5.tar.gz master-187ad058-a9d023be0165824f8ab0986da7023508ffb96fd5.tar.bz2 master-187ad058-a9d023be0165824f8ab0986da7023508ffb96fd5.zip |
[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
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch b/target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch index 2002ab4f4b..e6215cbc94 100644 --- a/target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch +++ b/target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1689,6 +1689,72 @@ static struct board_info __initdata boar +@@ -1692,6 +1692,72 @@ static struct board_info __initdata boar }, }, }; @@ -58,7 +58,7 @@ + .gpio = 11, + .type = EV_KEY, + .code = KEY_RESTART, -+ .debounce_interval = 60, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, + }, + { + .desc = "ses", @@ -66,14 +66,14 @@ + .active_low = 1, + .type = EV_KEY, + .code = KEY_WPS_BUTTON, -+ .debounce_interval = 60, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, + }, + } +}; #endif /* -@@ -1733,6 +1799,7 @@ static const struct board_info __initdat +@@ -1736,6 +1802,7 @@ static const struct board_info __initdat &board_nb4_fxc_r1, &board_nb4_fxc_r2, &board_HW553, |