summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorRonald Claveau <linux-kernel-dev@aliel.fr>2026-06-02 16:19:20 +0200
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-06-03 09:12:03 +0200
commit5f1e4f65d3002a814c690434f1dd37facc1df6ca (patch)
treec92fa55e308d66749b24c3eb5346030c782d2484 /drivers/thermal
parent1c5cb7391ef5f869ef333c04d6422c0e0859a870 (diff)
downloadlinux-next-5f1e4f65d3002a814c690434f1dd37facc1df6ca.tar.gz
linux-next-5f1e4f65d3002a814c690434f1dd37facc1df6ca.zip
thermal/drivers/amlogic: Add missing dependency on MESON_SM
The amlogic thermal driver calls meson_sm_get() and meson_sm_get_thermal_calib() which are exported by the meson_sm driver. Without CONFIG_MESON_SM enabled, the build fails with undefined references to these symbols. Add a proper Kconfig dependency on MESON_SM instead of relying on stub functions, which makes the dependency explicit and prevents invalid configurations. Closes: https://lore.kernel.org/oe-kbuild-all/202605291530.en7aGn7w-lkp@intel.com/ Reported-by: Mark Brown <broonie@kernel.org> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Ronald Claveau <linux-kernel-dev@aliel.fr> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Link: https://lore.kernel.org/oe-kbuild-all/202605291530.en7aGn7w-lkp@intel.com/ Link: https://patch.msgid.link/20260602-fix-missing-meson_sm-symbol-v3-1-6f7f69cd7d6c@aliel.fr
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index b10080d61860..40a376cf9936 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -436,6 +436,7 @@ config AMLOGIC_THERMAL
tristate "Amlogic Thermal Support"
default ARCH_MESON
depends on OF && ARCH_MESON
+ depends on MESON_SM
help
If you say yes here you get support for Amlogic Thermal
for G12 SoC Family.