[brcm63xx] use a define for the poll and debounce interval
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 500-board-D4PW.patch
index 5a769dc..e196950 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -129,6 +129,55 @@ static struct board_info __initdata boar
+@@ -132,6 +132,55 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -48,7 +48,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .debounce_interval = 60,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
 +};
@@ -56,7 +56,7 @@
  #endif
  
  /*
-@@ -637,6 +686,7 @@ static const struct board_info __initdat
+@@ -640,6 +689,7 @@ static const struct board_info __initdat
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,