fix board patches so that new boards are withing appropriate ifdef
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / patches-3.3 / 505-board_spw500v.patch
index 89adf93b620b06f506717d7442f49e95735020f7..520678d9eb8719c436e674a2bac9045efb46e056 100644 (file)
@@ -1,9 +1,10 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -187,6 +187,67 @@ static struct board_info __initdata boar
+@@ -557,6 +557,67 @@ static struct board_info __initdata boar
+               },
        },
  };
++
 +static struct board_info __initdata board_spw500v = {
 +      .name                           = "SPW500V",
 +      .expected_cpu_id                = 0x6348,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .threshold      = 3,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
 +};
-+
  #endif
  
  /*
-@@ -1364,6 +1425,7 @@ static const struct board_info __initdat
+@@ -1365,6 +1426,7 @@ static const struct board_info __initdat
        &board_96348gw_a,
        &board_rta1025w_16,
        &board_96348_D4PW,