summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-06-12 15:02:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-06-13 09:45:52 +0200
commit0c0faa23eafc6a09a2c26e87abfeb1bff415a09f (patch)
tree52f10a76cd824dcb3e2219efb44b9a585a264689 /drivers/pci
parent5e6db4ef9de49657aef6c908374a3f20b94bd387 (diff)
downloadbarebox-0c0faa23eafc6a09a2c26e87abfeb1bff415a09f.tar.gz
barebox-0c0faa23eafc6a09a2c26e87abfeb1bff415a09f.tar.xz
pci: disable building CONFIG_PCI when CONFIG_COMPILE_TEST
Architectures enabling HW_HAS_PCI are expected to also define <asm/pci.h>. Giving HW_HAS_PCI a prompt can thus lead to build errors on architectures that don't really support PCI. Remove the prompt again. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230612130239.1087599-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 32a9e831b9..39df54f215 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
config HW_HAS_PCI
- bool "Compile in PCI core" if COMPILE_TEST
+ bool
if HW_HAS_PCI