summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.14/801-ssb_export_fallback_sprom.patch
blob: 4acf40d627f511b50884b5d2c2191a39ec503c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/arch/mips/bcm63xx/sprom.c
+++ b/arch/mips/bcm63xx/sprom.c
@@ -8,6 +8,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/platform_device.h>
@@ -387,7 +388,8 @@ struct fallback_sprom_match {
 	struct ssb_sprom sprom;
 };
 
-static struct fallback_sprom_match fallback_sprom;
+struct fallback_sprom_match fallback_sprom;
+EXPORT_SYMBOL(fallback_sprom);
 
 #if defined(CONFIG_SSB_PCIHOST)
 int bcm63xx_get_fallback_ssb_sprom(struct ssb_bus *bus, struct ssb_sprom *out)