aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2022-05-19 16:57:15 +0200
committerHans de Goede <hdegoede@redhat.com>2022-05-19 19:46:25 +0200
commitbadb81a58b9e66ca8c15405476f5134e45b57dee (patch)
treee71ed68f87c469c6f638fe98db9c1ad7047021c4 /drivers/platform
parentplatform/x86: intel_cht_int33fe: Set driver data (diff)
downloadlinux-dev-badb81a58b9e66ca8c15405476f5134e45b57dee.tar.xz
linux-dev-badb81a58b9e66ca8c15405476f5134e45b57dee.zip
platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency
The driver is using functions from a compilation unit which is enabled by CONFIG_CPU_SUP_INTEL. Add that dependency to Kconfig explicitly otherwise: drivers/platform/x86/intel/ifs/load.o: in function `ifs_load_firmware': load.c:(.text+0x3b8): undefined reference to `intel_cpu_collect_info' Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/YoZay8YR0zRGyVu+@zn.tnic Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/intel/ifs/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel/ifs/Kconfig b/drivers/platform/x86/intel/ifs/Kconfig
index d84491cfb0db..7ce896434b8f 100644
--- a/drivers/platform/x86/intel/ifs/Kconfig
+++ b/drivers/platform/x86/intel/ifs/Kconfig
@@ -1,6 +1,6 @@
config INTEL_IFS
tristate "Intel In Field Scan"
- depends on X86 && 64BIT && SMP
+ depends on X86 && CPU_SUP_INTEL && 64BIT && SMP
select INTEL_IFS_DEVICE
help
Enable support for the In Field Scan capability in select