diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-06-19 18:02:03 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2021-06-20 23:04:48 +0200 |
commit | 0a9ece9ba154dd6205709108180952c55e630833 (patch) | |
tree | b21543152b4a6885a7968b6c841f731a1e5c2562 /drivers/hid/intel-ish-hid | |
parent | EDAC/Intel: Do not load EDAC driver when running as a guest (diff) | |
download | linux-0a9ece9ba154dd6205709108180952c55e630833.tar.xz linux-0a9ece9ba154dd6205709108180952c55e630833.zip |
EDAC/igen6: fix core dependency
igen6_edac needs mce_register()/unregister() functions,
so it should depend on X86_MCE (or X86_MCE_INTEL).
That change prevents these build errors:
ld: drivers/edac/igen6_edac.o: in function `igen6_remove':
igen6_edac.c:(.text+0x494): undefined reference to `mce_unregister_decode_chain'
ld: drivers/edac/igen6_edac.o: in function `igen6_probe':
igen6_edac.c:(.text+0xf5b): undefined reference to `mce_register_decode_chain'
Fixes: 10590a9d4f23e ("EDAC/igen6: Add EDAC driver for Intel client SoCs using IBECC")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20210619160203.2026-1-rdunlap@infradead.org
Diffstat (limited to 'drivers/hid/intel-ish-hid')
0 files changed, 0 insertions, 0 deletions