diff mbox series

[7/8] x86: add PCI dependency for PUNIT_ATOM_DEBUG

Message ID 20170719125310.2487451-8-arnd@arndb.de
State New
Headers show
Series x86: randconfig warning fixes | expand

Commit Message

Arnd Bergmann July 19, 2017, 12:53 p.m. UTC
The IOSF_MBI option requires PCI support, without it we get a harmless
Kconfig warning when it gets selected by PUNIT_ATOM_DEBUG:

warning: (X86_INTEL_LPSS && SND_SST_IPC_ACPI && MMC_SDHCI_ACPI && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI)

This adds another dependency to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 arch/x86/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.0
diff mbox series

Patch

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 353ed09f5fba..1fc519f3c49e 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -346,6 +346,7 @@  config X86_DEBUG_FPU
 
 config PUNIT_ATOM_DEBUG
 	tristate "ATOM Punit debug driver"
+	depends on PCI
 	select DEBUG_FS
 	select IOSF_MBI
 	---help---