76746026b3
Rework fallback sprom support by providing different sproms for different chips. Also make it optional to use. This likely causes sprom fallback support to break on a few boards. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41942
21 lines
555 B
Diff
21 lines
555 B
Diff
--- 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)
|