brcm47xx: add initial support for kernel 2.6.38
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.38 / 977-ssb_export_fallback_sprom.patch
1 --- a/drivers/ssb/sprom.c
2 +++ b/drivers/ssb/sprom.c
3 @@ -176,6 +176,7 @@ const struct ssb_sprom *ssb_get_fallback
4 {
5 return fallback_sprom;
6 }
7 +EXPORT_SYMBOL(ssb_get_fallback_sprom);
8
9 /* http://bcm-v4.sipsolutions.net/802.11/IsSpromAvailable */
10 bool ssb_is_sprom_available(struct ssb_bus *bus)
11 --- a/include/linux/ssb/ssb.h
12 +++ b/include/linux/ssb/ssb.h
13 @@ -412,6 +412,7 @@ extern bool ssb_is_sprom_available(struc
14 /* Set a fallback SPROM.
15 * See kdoc at the function definition for complete documentation. */
16 extern int ssb_arch_set_fallback_sprom(const struct ssb_sprom *sprom);
17 +extern const struct ssb_sprom *ssb_get_fallback_sprom(void);
18
19 /* Suspend a SSB bus.
20 * Call this from the parent bus suspend routine. */