[brcm63xx] leds: do not register device if no leds defined
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 801-ssb_export_fallback_sprom.patch
index c2853b3147cfd9c47059a75f3f0e2423a5d4bb4b..78ddd5f2181af03bc9f7fd43e6ed55cabcf84ce0 100644 (file)
@@ -1,6 +1,14 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2357,7 +2357,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -14,6 +14,7 @@
+ #include <linux/ssb/ssb.h>
+ #include <linux/gpio_keys.h>
+ #include <linux/input.h>
++#include <linux/export.h>
+ #include <linux/spi/spi.h>
+ #include <linux/spi/spi_gpio.h>
+ #include <linux/spi/74x164.h>
+@@ -3006,7 +3007,7 @@ static const struct board_info __initdat
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +17,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -2377,6 +2377,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -3026,6 +3027,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };