brcm63xx: add support for linux 3.2
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.2 / 977-ssb_export_fallback_sprom.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2109,7 +2109,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 @@ -2129,6 +2129,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 {