5d68606c82acf935c4779836062ab38a4db6f6e1
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 801-ssb_export_fallback_sprom.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2358,7 +2358,7 @@ static void __init nb4_nvram_fixup(void)
4   * bcm4318 WLAN work
5   */
6  #ifdef CONFIG_SSB_PCIHOST
7 -static struct ssb_sprom bcm63xx_sprom = {
8 +struct ssb_sprom bcm63xx_sprom = {
9         .revision               = 0x02,
10         .board_rev              = 0x17,
11         .country_code           = 0x0,
12 @@ -2378,6 +2378,7 @@ static struct ssb_sprom bcm63xx_sprom =
13         .boardflags_lo          = 0x2848,
14         .boardflags_hi          = 0x0000,
15  };
16 +EXPORT_SYMBOL(bcm63xx_sprom);
17  
18  int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out)
19  {