EDAC, skx_edac: Express dependency to NFIT
If ACPI_NFIT is enabled, we must depend on it, otherwise if skx_edac is built into the kernel, it may try to use nfit_get_smbios_id from modular nfit and linking will break.
Signed-off-by Jean Delvare <[email protected]>
Fixes 58ca9ac1463d ("EDAC, skx_edac: Detect non-volatile DIMMs")
Reported-by kbuild test robot <[email protected]>
Cc Tony Luck <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
--- drivers/edac/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/edac/Kconfig +1 -0
@@ -232,6 +232,7 @@ config EDAC_SBRIDGE config EDAC_SKX tristate "Intel Skylake server Integrated MC" depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG + depends on ACPI_NFIT=n || ACPI_NFIT select DMI help Support for error detection and correction the Intel