]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency
authorBorislav Petkov <bp@suse.de>
Thu, 19 May 2022 14:57:15 +0000 (16:57 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 19 May 2022 17:46:25 +0000 (19:46 +0200)
commitbadb81a58b9e66ca8c15405476f5134e45b57dee
treee71ed68f87c469c6f638fe98db9c1ad7047021c4
parent3ce827bf9cfecaf2cbfd9a9d44f0db9f40882780
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>
drivers/platform/x86/intel/ifs/Kconfig