801-ssb_export_fallback_sprom.patch 814 B

123456789101112131415161718192021222324252627
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -14,6 +14,7 @@
  4. #include <linux/ssb/ssb.h>
  5. #include <linux/gpio_keys.h>
  6. #include <linux/input.h>
  7. +#include <linux/export.h>
  8. #include <linux/spi/spi.h>
  9. #include <linux/spi/spi_gpio.h>
  10. #include <linux/spi/74x164.h>
  11. @@ -4113,7 +4114,7 @@ static const struct board_info __initcon
  12. * bcm4318 WLAN work
  13. */
  14. #ifdef CONFIG_SSB_PCIHOST
  15. -static struct ssb_sprom bcm63xx_sprom = {
  16. +struct ssb_sprom bcm63xx_sprom = {
  17. .revision = 0x02,
  18. .board_rev = 0x17,
  19. .country_code = 0x0,
  20. @@ -4133,6 +4134,7 @@ static struct ssb_sprom bcm63xx_sprom =
  21. .boardflags_lo = 0x2848,
  22. .boardflags_hi = 0x0000,
  23. };
  24. +EXPORT_SYMBOL(bcm63xx_sprom);
  25. int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out)
  26. {