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

linux-kernel-dev at aliel.fr linux-kernel-dev at aliel.fr
Tue Jun 2 22:36:52 PDT 2026


On 6/2/26 11:08 PM, Daniel Lezcano wrote:
> On 6/2/26 16:19, Ronald Claveau via B4 Relay wrote:
>> From: Ronald Claveau <linux-kernel-dev at aliel.fr>
>>
>> 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 at intel.com/
>> Reported-by: Mark Brown <broonie at kernel.org>
>> Reported-by: kernel test robot <lkp at intel.com>
>> Signed-off-by: Ronald Claveau <linux-kernel-dev at aliel.fr>
>> ---
> 
> Applied, thanks

Thank you.
I think it will need a reorder for bisect to be ok btw.
It needs to come before b21d88de6918 ("thermal/drivers/amlogic: Add
support for secure monitor calibration readout")

-- 
Best regards,
Ronald



More information about the linux-arm-kernel mailing list