PCI: controller: PCI_IXP4XX should depend on ARCH_IXP4XX
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 29 Jun 2021 13:20:45 +0000 (15:20 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 23 Jul 2021 15:10:05 +0000 (16:10 +0100)
commit9f1168cf263aab0474300f7118107f8ef73e7423
treebed1960b93b4b884c7cc58a8b48de0f55fa599c5
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
PCI: controller: PCI_IXP4XX should depend on ARCH_IXP4XX

The Intel IXP4xx PCI controller is only present on Intel IXP4xx
XScale-based network processor SoCs.

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.

Link: https://lore.kernel.org/r/6a88e55fe58fc280f4ff1ca83c154e4895b6dcbf.1624972789.git.geert+renesas@glider.be
Fixes: f7821b4934584824 ("PCI: ixp4xx: Add a new driver for IXP4xx")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pci/controller/Kconfig