[brcm63xx] increase led number in patch 301-led_count.patch
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 501-board-NB4.patch
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];