mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
thermal: intel: Fix compile issue when CONFIG_NET is not defined
If CONFIG_NET is not defined then THERMAL_NETLINK can't be selected.
Hence add dependency on CONFIG_NET. Othewise it will generate compile
errors while compiling thermal_netlink.c.
Fixes: 4596cbea0e ("thermal: intel: Remove explicit user_space governor selection")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20241218214444.1904650-1-srinivas.pandruvada@linux.intel.com
[ rjw: Merge the "depends on" lines ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
b59bd75a4b
commit
207a792d01
|
|
@ -21,7 +21,7 @@ config INTEL_TCC
|
|||
|
||||
config X86_PKG_TEMP_THERMAL
|
||||
tristate "X86 package temperature thermal driver"
|
||||
depends on X86_THERMAL_VECTOR
|
||||
depends on X86_THERMAL_VECTOR && NET
|
||||
select THERMAL_NETLINK
|
||||
select INTEL_TCC
|
||||
default m
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
config INT340X_THERMAL
|
||||
tristate "ACPI INT340X thermal drivers"
|
||||
depends on X86_64 && ACPI && PCI
|
||||
depends on X86_64 && ACPI && PCI && NET
|
||||
select THERMAL_NETLINK
|
||||
select ACPI_THERMAL_REL
|
||||
select ACPI_FAN
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user