From ea396c30eb16e4125c66b736722f06041de3194e Mon Sep 17 00:00:00 2001 From: Tony Luck Date: Tue, 5 Feb 2019 10:02:00 -0800 Subject: [PATCH] ICX: EDAC, i10nm: Fix randconfig builds commit d6a9f7336d925364daca00557afa59a68e78b422 upstream. 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 Signed-off-by: Caspar Zhang Reviewed-by: Joseph Qi --- drivers/edac/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 1886c8e49604..34c8109d2d96 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 -- GitLab