]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: intel: hfi: INTEL_HFI_THERMAL depends on NET
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 9 Feb 2022 00:15:46 +0000 (16:15 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Feb 2022 19:58:24 +0000 (20:58 +0100)
commit148f813246a9cbfd43387628b079525b95bfe9a3
tree253b543c7e75235c3fbe3d1b8a0af65afe88a0cd
parent72b8dfd79853a923ce59cee593224afefc6ab3ea
thermal: intel: hfi: INTEL_HFI_THERMAL depends on NET

THERMAL_NETLINK depends on NET and since 'select' does not follow
any dependency chain, INTEL_HFI_THERMAL also should depend on NET.

Fix one Kconfig warning and 48 subsequent build errors:

WARNING: unmet direct dependencies detected for THERMAL_NETLINK
  Depends on [n]: THERMAL [=y] && NET [=n]
  Selected by [y]:
  - INTEL_HFI_THERMAL [=y] && THERMAL [=y] && (X86 [=y] || X86_INTEL_QUARK [=n] || COMPILE_TEST [=y]) && CPU_SUP_INTEL [=y] && X86_THERMAL_VECTOR [=y]

Fixes: 504962314ef2 ("thermal: intel: hfi: Notify user space for HFI events")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/Kconfig