brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference...
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 150-alice_gate2_leds.patch
index 10a7fd921246da8014d0427239ae412e2096b9fe..520fdeae5f7943b60e1895971d2bd0acfb48a7c0 100644 (file)
@@ -1,6 +1,8 @@
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -589,6 +589,63 @@ static struct board_info __initdata boar
+Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
+===================================================================
+--- linux-2.6.32.13.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c     2010-05-27 21:40:56.000000000 -0400
++++ linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c  2010-05-27 21:43:41.000000000 -0400
+@@ -573,6 +573,63 @@
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
 +              },
 +      },
 +
-+      .reset_buttons = {
++      .buttons = {
 +              {
 +                      .desc           = "sw2",
 +                      .gpio           = 37,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },