diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-05-13 10:35:44 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-05-14 11:35:23 +0200 |
commit | de245ae073e72d47304fda3db13b24dacda204ee (patch) | |
tree | a77c7194178d56f76700f54431e9fc99ecc80b41 /drivers/edac/mpc85xx_edac.c | |
parent | a0671c39ddf4ebe464dc49da7e48860ff4135920 (diff) | |
download | linux-de245ae073e72d47304fda3db13b24dacda204ee.tar.bz2 |
EDAC, skx: Fix skx_edac build error when ACPI_NFIT=m
Prevent build error when CONFIG_ACPI_NFIT=m and CONFIG_EDAC_SKX=y by
limiting EDAC_SKX based on how ACPI_NFIT is set.
Fixes this build error:
drivers/edac/skx_edac.o: In function `get_nvdimm_info':
../drivers/edac/skx_edac.c:399: undefined reference to `nfit_get_smbios_id'
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Fixes: 58ca9ac1463d ("EDAC, skx_edac: Detect non-volatile DIMMs")
Link: http://lkml.kernel.org/r/3af91354-8e19-d2af-1bba-ced8dce053f1@infradead.org
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
0 files changed, 0 insertions, 0 deletions