diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-04-02 11:03:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-08 16:44:40 -0400 |
commit | d72bb40fe38608fcf7870b4d768e4416502b23b5 (patch) | |
tree | d20e340408709b918c55687c9d53caa6d72268d8 | |
parent | fb14a7e0860ef8b19d0dd61be96e23eacb4da129 (diff) |
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: Michael Buesch <mb@bu3sch.de>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/ssb/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index c0cbdba07aee..3e58db7ef608 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c | |||
@@ -189,7 +189,7 @@ int ssb_bus_suspend(struct ssb_bus *bus) | |||
189 | } | 189 | } |
190 | EXPORT_SYMBOL(ssb_bus_suspend); | 190 | EXPORT_SYMBOL(ssb_bus_suspend); |
191 | 191 | ||
192 | #ifdef CONFIG_SSB_PCIHOST | 192 | #ifdef CONFIG_SSB_SPROM |
193 | int ssb_devices_freeze(struct ssb_bus *bus) | 193 | int ssb_devices_freeze(struct ssb_bus *bus) |
194 | { | 194 | { |
195 | struct ssb_device *dev; | 195 | struct ssb_device *dev; |
@@ -275,7 +275,7 @@ int ssb_devices_thaw(struct ssb_bus *bus) | |||
275 | 275 | ||
276 | return 0; | 276 | return 0; |
277 | } | 277 | } |
278 | #endif /* CONFIG_SSB_PCIHOST */ | 278 | #endif /* CONFIG_SSB_SPROM */ |
279 | 279 | ||
280 | static void ssb_device_shutdown(struct device *dev) | 280 | static void ssb_device_shutdown(struct device *dev) |
281 | { | 281 | { |