Re: [PATCH v3] thermal: amlogic: add missing dependency on MESON_SM

Daniel Lezcano <[email protected]>
Newsgroups org.infradead.lists.linux-amlogic,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
Message-ID <[email protected]>
On 6/2/26 16:19, Ronald Claveau via B4 Relay wrote:
> From: Ronald Claveau <[email protected]>
> 
> 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/[email protected]/
> Reported-by: Mark Brown <[email protected]>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Ronald Claveau <[email protected]>
> ---

Applied, thanks

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.