add missing alice gate2 leds (#6743)
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 140-new_bcm96348gw_leds.patch
index 8f9ca8be5a75fef5cad26227905ada3b718ec929..da2c3784c900058ea401506269cd49f8167cb783 100644 (file)
@@ -1,11 +1,9 @@
-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:36:02.000000000 -0400
-+++ linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c  2010-05-27 21:40:56.000000000 -0400
-@@ -331,29 +331,28 @@
-
-       .leds = {
-               {
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -331,29 +331,28 @@ static struct board_info __initdata boar
+       .leds = {
+               {
 -                      .name           = "adsl-fail",
 -                      .gpio           = 2,
 +                      .name           = "line1",
@@ -42,7 +40,7 @@ Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
                        .active_low     = 1,
                },
        },
-@@ -855,6 +854,7 @@
+@@ -855,6 +854,7 @@ static struct platform_device bcm63xx_gp
  int __init board_register_devices(void)
  {
        u32 val;
@@ -50,7 +48,7 @@ Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
        int button_count = 0;
  
        if (board.has_pccard)
-@@ -902,7 +902,11 @@
+@@ -902,7 +902,11 @@ int __init board_register_devices(void)
  
        platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);