]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: make bcma_host_pci_(up|down) calls safe for every config
authorRafał Miłecki <zajec5@gmail.com>
Wed, 4 Mar 2015 11:14:41 +0000 (12:14 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 5 Mar 2015 12:11:40 +0000 (14:11 +0200)
commit61d8df59654400ccaf862cc53d74fcbd06cb20a9
tree10ab640065f820410b6c0764e9e00301cad075bd
parentc20f838dc0a405233b4ea28716f82e2d62db8667
bcma: make bcma_host_pci_(up|down) calls safe for every config

We were providing declarations but actual code was compiled only with
CONFIG_BCMA_HOST_PCI set. This could result in:
ERROR: "bcma_host_pci_down" [drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko] undefined!
ERROR: "bcma_host_pci_up" [drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko] undefined!
ERROR: "bcma_host_pci_down" [drivers/net/wireless/b43/b43.ko] undefined!
ERROR: "bcma_host_pci_up" [drivers/net/wireless/b43/b43.ko] undefined!

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
include/linux/bcma/bcma.h