summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-03-04 05:16:18 +0800
committerKalle Valo <kvalo@codeaurora.org>2015-03-05 13:56:59 +0200
commitb09f5ec18b16b82f4db8a735e453332db7514275 (patch)
tree5ee1ae0eb9b051edb67cd872217f29d349dec3d0 /drivers/bcma
parente3e72f38a5bd7b17aca04f1bfe6d0ef2371cf05a (diff)
downloadop-kernel-dev-b09f5ec18b16b82f4db8a735e453332db7514275.zip
op-kernel-dev-b09f5ec18b16b82f4db8a735e453332db7514275.tar.gz
bcma: Kconfig: Let it depend on PCI
bcma also needs PCI, just like IOMEM and DMA, so let it depend on PCI, or will cause building break for allmodconfig under c6x: CC [M] drivers/bcma/driver_pcie2.o drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up': drivers/bcma/driver_pcie2.c:196:8: error: implicit declaration of function 'pcie_set_readrq' [-Werror=implicit-function-declaration] err = pcie_set_readrq(dev, pcie2->reqsize); ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig
index 0ee48be..8be284e 100644
--- a/drivers/bcma/Kconfig
+++ b/drivers/bcma/Kconfig
@@ -1,6 +1,6 @@
config BCMA_POSSIBLE
bool
- depends on HAS_IOMEM && HAS_DMA
+ depends on HAS_IOMEM && HAS_DMA && PCI
default y
menu "Broadcom specific AMBA"
OpenPOWER on IntegriCloud