fix leds naming for all bcm63xx boards
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / patches-3.3 / 509-board_rta1320_16m.patch
index a4b2651c85fbda7df6dad1f73ac7f8d4f7384e19..8735d7d809ca7fc2b210e06f121982fa5c7a5e3f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -365,6 +365,43 @@ static struct board_info __initdata boar
+@@ -172,6 +172,43 @@ static struct board_info __initdata boar
                },
        },
  };
 +
 +              .leds = {
 +              {
-+                      .name           = "adsl",
++                      .name           = "RTA1320_16M:green:adsl",
 +                      .gpio           = 3,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "ppp",
++                      .name           = "RTA1320_16M:green:ppp",
 +                      .gpio           = 4,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "power",
++                      .name           = "RTA1320_16M:green:power",
 +                      .gpio           = 0,
 +                      .active_low     = 1,
 +                      .default_trigger = "default-on",
 +              },
 +              {
-+                      .name           = "stop",
++                      .name           = "RTA1320_16M:green:stop",
 +                      .gpio           = 1,
 +                      .active_low     = 1,
 +              },
@@ -44,7 +44,7 @@
  #endif
  
  /*
-@@ -1665,6 +1702,7 @@ static const struct board_info __initdat
+@@ -1660,6 +1697,7 @@ static const struct board_info __initdat
        &board_96338gw,
        &board_96338w,
        &board_96338w2_e7t,