linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: PCI_IXP4XX should depend on ARCH_IXP4XX
@ 2021-06-29 13:20 Geert Uytterhoeven
  2021-06-30  0:25 ` Linus Walleij
  2021-07-23 15:11 ` Lorenzo Pieralisi
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2021-06-29 13:20 UTC (permalink / raw)
  To: Linus Walleij, Lorenzo Pieralisi, Bjorn Helgaas
  Cc: Rob Herring, Krzysztof Wilczyński, Arnd Bergmann, linux-pci,
	linux-kernel, Geert Uytterhoeven

The Intel IXP4xx PCI controller is only present on Intel IXP4xx
XScale-based network processor SoCs.  Hence add a dependency on
ARCH_IXP4XX, to prevent asking the user about this driver when
configuring a kernel without support for the XScale processor family.

Fixes: f7821b4934584824 ("PCI: ixp4xx: Add a new driver for IXP4xx")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/pci/controller/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 5e1e3796efa4e327..326f7d13024f9037 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -40,6 +40,7 @@ config PCI_FTPCI100
 config PCI_IXP4XX
 	bool "Intel IXP4xx PCI controller"
 	depends on ARM && OF
+	depends on ARCH_IXP4XX || COMPILE_TEST
 	default ARCH_IXP4XX
 	help
 	  Say Y here if you want support for the PCI host controller found
-- 
2.25.1


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

end of thread, other threads:[~2021-07-23 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 13:20 [PATCH] PCI: PCI_IXP4XX should depend on ARCH_IXP4XX Geert Uytterhoeven
2021-06-30  0:25 ` Linus Walleij
2021-07-23 15:11 ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).