[brcm63xx] fix bisectability of patch 303-spi-board-info.patch
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 510-board_spw303v.patch
index 7b7e7e064924e78ee3c8ecd756f61d4e164da62f..c68c678b9cbfbde3f2e290bc8b11cfbe123a1cf7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1689,6 +1689,72 @@ static struct board_info __initdata boar
+@@ -1691,6 +1691,72 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -58,7 +58,7 @@
 +                      .gpio           = 11,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .threshold      = 3,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +              {
 +                      .desc           = "ses",
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_WPS_BUTTON,
-+                      .threshold      = 3,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      }
 +};
  #endif
  
  /*
-@@ -1733,6 +1799,7 @@ static const struct board_info __initdat
+@@ -1735,6 +1801,7 @@ static const struct board_info __initdat
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
        &board_HW553,