[brcm63xx] fix leds naming for all bcm63xx boards
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 516-board_96348A-122.patch
index 9891b3f905d46380009f86cae7fafc3bf5123df4..7e20e0dec2245622cc7520c281f03b5afdc127e4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -377,6 +377,67 @@ static struct board_info __initdata boar
+@@ -494,6 +494,67 @@ static struct board_info __initdata boar
        },
  };
  
 +
 +      .leds = {
 +              {
-+                      .name           = "power",
++                      .name           = "96348A-122:green:power",
 +                      .gpio           = 0,
 +                      .active_low     = 1,
 +                      .default_trigger = "default-on",
 +              },
 +              {
-+                      .name           = "alarm",
++                      .name           = "96348A-122:green:alarm",
 +                      .gpio           = 2,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "wps",
++                      .name           = "96348A-122:green:wps",
 +                      .gpio           = 6,
 +                      .active_low     = 1,
 +              },
 +      },
 +};
 +
- #endif
- /*
-@@ -1948,6 +2009,7 @@ static const struct board_info __initdat
+ static struct board_info __initdata board_96348gw = {
+       .name                           = "96348GW",
+       .expected_cpu_id                = 0x6348,
+@@ -1944,6 +2005,7 @@ static const struct board_info __initdat
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,