use a define for the poll and debounce interval
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.3 / 512-board_BTV2110.patch
index 07d7049e09ffe54b85f691c8a8fa9f74c37b1a20..95425645a9b7233053345351476f17d024921bbb 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -630,6 +630,62 @@ static struct board_info __initdata boar
+@@ -633,6 +633,62 @@ static struct board_info __initdata boar
        },
  };
  
@@ -54,7 +54,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
 +};
@@ -63,7 +63,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -1842,6 +1898,7 @@ static const struct board_info __initdat
+@@ -1845,6 +1901,7 @@ static const struct board_info __initdat
        &board_spw500v,
        &board_96348sv,
        &board_V2500V_BB,