diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-04 23:58:42 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-05 14:35:47 -0500 |
commit | 532031d7f426eb02f854d13184416cabcb01bdd5 (patch) | |
tree | 6b48ce4b8a037c7aa0d6972d77718442db253f26 /include/linux/ssb | |
parent | 03ac7a8141e1613add92d42e389a35a126b1caf8 (diff) | |
download | op-kernel-dev-532031d7f426eb02f854d13184416cabcb01bdd5.zip op-kernel-dev-532031d7f426eb02f854d13184416cabcb01bdd5.tar.gz |
b43: fix build with CONFIG_SSB_PCIHOST=n
m68k allmodconfig gives
drivers/net/wireless/b43/main.c:251: error: implicit declaration of function 'mmiowb'
because CONFIG_B43=m, CONFIG_SSB_PCIHOST=n.
Might be Kconfig bustage, but this works...
Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ssb')
-rw-r--r-- | include/linux/ssb/ssb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h index e18f5c2..9d5da8b 100644 --- a/include/linux/ssb/ssb.h +++ b/include/linux/ssb/ssb.h @@ -373,6 +373,15 @@ void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) if (sdev->bus->bustype == SSB_BUSTYPE_PCI) pci_set_power_state(sdev->bus->host_pci, state); } +#else +static inline void ssb_pcihost_unregister(struct pci_driver *driver) +{ +} + +static inline +void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) +{ +} #endif /* CONFIG_SSB_PCIHOST */ |