Commit d72bb40f authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville

ssb: Fix build for non-PCIhost

This fixes a build error when PCMCIA-host support is built,
but PCI-host support is disabled.
Hell, who on earth would use such a weird configuration. :D

drivers/built-in.o: In function `ssb_attr_sprom_store':
(.text+0x1c4b79): undefined reference to `ssb_devices_freeze'
drivers/built-in.o: In function `ssb_attr_sprom_store':
(.text+0x1c4bb3): undefined reference to `ssb_devices_thaw'
make[1]: *** [.tmp_vmlinux1] Error 1
Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent fb14a7e0
...@@ -189,7 +189,7 @@ int ssb_bus_suspend(struct ssb_bus *bus) ...@@ -189,7 +189,7 @@ int ssb_bus_suspend(struct ssb_bus *bus)
} }
EXPORT_SYMBOL(ssb_bus_suspend); EXPORT_SYMBOL(ssb_bus_suspend);
#ifdef CONFIG_SSB_PCIHOST #ifdef CONFIG_SSB_SPROM
int ssb_devices_freeze(struct ssb_bus *bus) int ssb_devices_freeze(struct ssb_bus *bus)
{ {
struct ssb_device *dev; struct ssb_device *dev;
...@@ -275,7 +275,7 @@ int ssb_devices_thaw(struct ssb_bus *bus) ...@@ -275,7 +275,7 @@ int ssb_devices_thaw(struct ssb_bus *bus)
return 0; return 0;
} }
#endif /* CONFIG_SSB_PCIHOST */ #endif /* CONFIG_SSB_SPROM */
static void ssb_device_shutdown(struct device *dev) static void ssb_device_shutdown(struct device *dev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment