mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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
This commit is contained in:
parent
1c5cb7391e
commit
5f1e4f65d3
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user