Skip to content

Commit

Permalink
platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
  • Loading branch information
suryasaimadhu authored and jwrdegoede committed May 19, 2022
1 parent 3ce827b commit badb81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/intel/ifs/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit badb81a

Please sign in to comment.