From: Tony Luck Date: Tue, 5 Feb 2019 18:02:00 +0000 (-0800) Subject: EDAC, i10nm: Fix randconfig builds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6a9f7336d925364daca00557afa59a68e78b422;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 0825c9c26d2b..102a47a09f25 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