[brcm63xx] use a define for the poll and debounce interval
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 516-board_96348A-122.patch
index 67292302210579a33f682626ecd075271afe2c1d..44f28b437f49e569aa1aa2aa6ebbe64d09c5cf6f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -375,6 +375,67 @@ static struct board_info __initdata boar
+@@ -378,6 +378,67 @@ static struct board_info __initdata boar
        },
  };
  
@@ -44,7 +44,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +              {
 +                      .desc           = "wifi",
@@ -52,7 +52,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = BTN_0,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +              {
 +                      .desc           = "wps",
@@ -60,7 +60,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_WPS_BUTTON,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
 +};
@@ -68,7 +68,7 @@
  #endif
  
  /*
-@@ -1946,6 +2007,7 @@ static const struct board_info __initdat
+@@ -1949,6 +2010,7 @@ static const struct board_info __initdat
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,