From d6a9f7336d925364daca00557afa59a68e78b422 Mon Sep 17 00:00:00 2001 From: Tony Luck Date: Tue, 5 Feb 2019 10:02:00 -0800 Subject: [PATCH] EDAC, i10nm: Fix randconfig builds I10NM_EDAC depends on CONFIG_ACPI so make that dependency explicit. Reported-by: Borislav Petkov Signed-off-by: Tony Luck Signed-off-by: Borislav Petkov Cc: Aristeu Rozanski Cc: James Morse Cc: Mauro Carvalho Chehab Cc: Qiuxu Zhuo Cc: linux-edac Link: https://lkml.kernel.org/r/20190205180200.26865-1-tony.luck@intel.com --- drivers/edac/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 0825c9c..102a47a 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig @@ -243,10 +243,10 @@ config EDAC_SKX config EDAC_I10NM 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 -- 2.7.4