From: Rafał Miłecki Date: Wed, 4 Mar 2015 11:14:41 +0000 (+0100) Subject: bcma: make bcma_host_pci_(up|down) calls safe for every config X-Git-Tag: omap-for-v4.2/o2_dc~131^2~318^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c32ec2a11321978c34296d9a6bd5b0c31a2eb182;p=pandora-kernel.git 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 Signed-off-by: Rafał Miłecki Signed-off-by: Kalle Valo --- Reading git-diff-tree failed