[brcm63xx] increase led number in patch 301-led_count.patch
authorFlorian Fainelli <florian@openwrt.org>
Wed, 6 Jun 2012 13:31:24 +0000 (13:31 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 6 Jun 2012 13:31:24 +0000 (13:31 +0000)
So that board patches are only touching board-related code

SVN-Revision: 32076

target/linux/brcm63xx/patches-3.3/301-led_count.patch
target/linux/brcm63xx/patches-3.3/501-board-NB4.patch
target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch

index 9fee853c5c481dc4bc1665775455b458497ad35d..208ae65bb4eca9cdc8d6782810460feec08899fd 100644 (file)
        bcm63xx_led_data.leds = board.leds;
  
        platform_device_register(&bcm63xx_gpio_leds);
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -57,7 +57,7 @@ struct board_info {
+       struct bcm63xx_dsp_platform_data dsp;
+       /* GPIO LEDs */
+-      struct gpio_led leds[5];
++      struct gpio_led leds[14];
+       /* Buttons */
+       struct gpio_keys_button buttons[4];
index 2c61c550268a6bc07a2af044e212cbf543808a8e..812eaa2cf221158c178e7fb9f4992b78305caf41 100644 (file)
        board_name = bcm63xx_nvram_get_name();
        /* find board by name */
        for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -52,7 +52,7 @@ struct board_info {
-       struct bcm63xx_dsp_platform_data dsp;
-       /* GPIO LEDs */
--      struct gpio_led leds[5];
-+      struct gpio_led leds[9];
-       /* Buttons */
-       struct gpio_keys_button buttons[4];
index 3d00133b6f4be341882d688263b6b77623e57bc5..a9cca53a14536f91b8da2945e6a22b915f395036 100644 (file)
        &board_DWVS0,
        &board_nb4_ser_r0,
        &board_nb4_ser_r1,
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -52,7 +52,7 @@ struct board_info {
-       struct bcm63xx_dsp_platform_data dsp;
-       /* GPIO LEDs */
--      struct gpio_led leds[9];
-+      struct gpio_led leds[10];
-       /* Buttons */
-       struct gpio_keys_button buttons[4];
index 0fd10b155e010527567bb3015b4c5580e9ad6f5b..a8b3be294eb4c2cbe1dd1829a51625cf5bd9c5a2 100644 (file)
  };
  
  static struct board_info __initdata board_DWVS0 = {
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -52,7 +52,7 @@ struct board_info {
-       struct bcm63xx_dsp_platform_data dsp;
-       /* GPIO LEDs */
--      struct gpio_led leds[10];
-+      struct gpio_led leds[14];
-       /* Buttons */
-       struct gpio_keys_button buttons[4];