977-ssb_export_fallback_sprom.patch 593 B

12345678910111213141516171819
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -2111,7 +2111,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. @@ -2131,6 +2131,7 @@ static struct ssb_sprom bcm63xx_sprom =
  13. .boardflags_lo = 0x2848,
  14. .boardflags_hi = 0x0000,
  15. };
  16. +EXPORT_SYMBOL(bcm63xx_sprom);
  17. int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out)
  18. {