From 0c0faa23eafc6a09a2c26e87abfeb1bff415a09f Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 12 Jun 2023 15:02:24 +0200 Subject: pci: disable building CONFIG_PCI when CONFIG_COMPILE_TEST Architectures enabling HW_HAS_PCI are expected to also define . 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 Link: https://lore.barebox.org/20230612130239.1087599-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- drivers/pci/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/pci') 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 -- cgit v1.2.3