]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thermal: intel: Fix compile issue when CONFIG_NET is not defined
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 18 Dec 2024 21:44:44 +0000 (13:44 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 Dec 2024 11:35:46 +0000 (12:35 +0100)
commit207a792d01603faae08d9bd82846bd99c42c30cc
tree24c780446ec00896104bb959da2454469796dbe3
parentb59bd75a4b0983d6bcd10987b32ea9b9042db88c
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: 4596cbea0ed2 ("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>
drivers/thermal/intel/Kconfig
drivers/thermal/intel/int340x_thermal/Kconfig