public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bcma: Kconfig: Let it depend on PCI
@ 2015-03-03 21:16 Chen Gang
  2015-03-04  6:19 ` Rafał Miłecki
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Chen Gang @ 2015-03-03 21:16 UTC (permalink / raw)
  To: zajec5; +Cc: linux-wireless, linux-kernel@vger.kernel.org

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>
---
 drivers/bcma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-03-05 19:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 21:16 [PATCH] bcma: Kconfig: Let it depend on PCI Chen Gang
2015-03-04  6:19 ` Rafał Miłecki
2015-03-04 12:08   ` Rafał Miłecki
2015-03-04 13:36     ` Rafał Miłecki
2015-03-04 16:38       ` Michael Büsch
2015-03-04 16:39         ` Rafał Miłecki
2015-03-04  7:41 ` Chen Gang
2015-03-04 22:23 ` Rafał Miłecki
2015-03-05 11:40   ` Kalle Valo
2015-03-05 20:02     ` Chen Gang
2015-03-05 11:57 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox