Skip to contentSkip to conversation

EDAC, i10nm: Fix randconfig builds

DISCUSSION Borislav Petkov 1 participant 1 message Feb 6, 2019 EDAC-core

lore
Share & tools
lore

Borislav Petkov

author maintainer Applied
#0 lore raw
Quoted 18 lines · Tony Luck

I10NM_EDAC depends on CONFIG_ACPI

---
[We missed matching this change we made to the SKX_EDAC dependency :-( ]

 drivers/edac/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/Kconfig +0 -0
index 0825c9c26d2b..102a47a09f25 100644
@@ -243,10 +243,10 @@ config EDAC_SKX
 
 config EDAC_I10NM

drivers/edac/Kconfig config EDAC_SKX · line 252

Quoted 10 lines
drivers/edac/Kconfig +2 -2
 	tristate "Intel 10nm server Integrated MC"
-	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
+	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
 	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
 	select DMI
-	select ACPI_ADXL if ACPI
+	select ACPI_ADXL
 	help
 	  Support for error detection and correction the Intel
 	  10nm server Integrated Memory Controllers. If your

Applied, thanks.