From a1c9b2934067c3ee18579f635f85c7001d89df8d Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 2 May 2012 15:40:26 +0000 Subject: [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 --- target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/brcm63xx/patches-3.3/510-board_spw303v.patch') 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 2002ab4f4..e6215cbc9 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, -- cgit v1.2.3