use a define for the poll and debounce interval
[librecmc/librecmc.git] / target / linux / brcm63xx / patches-3.3 / 504-board_dsl_274xb_rev_c.patch
index 375c8243646f81c7d71e825529ecc300cf01bf16..65ac6c5a4d8eb168da783563a5bbe13e247dc742 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -798,6 +798,59 @@ static struct board_info __initdata boar
+@@ -801,6 +801,59 @@ static struct board_info __initdata boar
        .has_ohci0                      = 1,
  };
  
@@ -52,7 +52,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
 +};
@@ -60,7 +60,7 @@
  struct spi_gpio_platform_data nb4_spi_gpio_data = {
        .sck            = NB4_SPI_GPIO_CLK,
        .mosi           = NB4_SPI_GPIO_MOSI,
-@@ -1319,6 +1372,7 @@ static const struct board_info __initdat
+@@ -1322,6 +1375,7 @@ static const struct board_info __initdat
        &board_AGPFS0,
        &board_CPVA642,
        &board_DWVS0,