summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.34
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-13 16:20:29 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-13 16:20:29 +0000
commitbe1d1d9f02c414224c63deeafcb53998b6b48db3 (patch)
tree32a225f6ff52d12f360e7cd601303314d33a6b1d /target/linux/generic/patches-2.6.34
parent372c8c5e681428d331d44a08fdc4e9921090c8fb (diff)
[kernel] export SSB fallback SPROM - required for wl.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22168 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.34')
-rw-r--r--target/linux/generic/patches-2.6.34/977-ssb_export_fallback_sprom.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.34/977-ssb_export_fallback_sprom.patch b/target/linux/generic/patches-2.6.34/977-ssb_export_fallback_sprom.patch
new file mode 100644
index 000000000..2a22a3a38
--- /dev/null
+++ b/target/linux/generic/patches-2.6.34/977-ssb_export_fallback_sprom.patch
@@ -0,0 +1,20 @@
+--- a/drivers/ssb/sprom.c
++++ b/drivers/ssb/sprom.c
+@@ -176,6 +176,7 @@ const struct ssb_sprom *ssb_get_fallback
+ {
+ return fallback_sprom;
+ }
++EXPORT_SYMBOL(ssb_get_fallback_sprom);
+
+ /* http://bcm-v4.sipsolutions.net/802.11/IsSpromAvailable */
+ bool ssb_is_sprom_available(struct ssb_bus *bus)
+--- a/include/linux/ssb/ssb.h
++++ b/include/linux/ssb/ssb.h
+@@ -401,6 +401,7 @@ extern bool ssb_is_sprom_available(struc
+ /* Set a fallback SPROM.
+ * See kdoc at the function definition for complete documentation. */
+ extern int ssb_arch_set_fallback_sprom(const struct ssb_sprom *sprom);
++extern const struct ssb_sprom *ssb_get_fallback_sprom(void);
+
+ /* Suspend a SSB bus.
+ * Call this from the parent bus suspend routine. */