generic: rtl8366: get rid of private rtl8366{s,rb} structs
[openwrt.git] / target / linux / generic / patches-2.6.31 / 977-ssb_export_fallback_sprom.patch
1 --- a/drivers/ssb/sprom.c
2 +++ b/drivers/ssb/sprom.c
3 @@ -174,6 +174,7 @@ int ssb_arch_set_fallback_sprom(const st
4  
5         return 0;
6  }
7 +EXPORT_SYMBOL(ssb_get_fallback_sprom);
8  
9  const struct ssb_sprom *ssb_get_fallback_sprom(void)
10  {
11 --- a/include/linux/ssb/ssb.h
12 +++ b/include/linux/ssb/ssb.h
13 @@ -387,6 +387,7 @@ extern void ssb_bus_unregister(struct ss
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. */