diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-03-04 12:14:41 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-05 14:11:40 +0200 |
commit | c32ec2a11321978c34296d9a6bd5b0c31a2eb182 (patch) | |
tree | 10ab640065f820410b6c0764e9e00301cad075bd /drivers/net/can | |
parent | b09f5ec18b16b82f4db8a735e453332db7514275 (diff) | |
download | op-kernel-dev-c32ec2a11321978c34296d9a6bd5b0c31a2eb182.zip op-kernel-dev-c32ec2a11321978c34296d9a6bd5b0c31a2eb182.tar.gz |
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>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions