Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal/drivers/qcom: Make LMH select QCOM_SCM

The QCOM_SCM symbol is not user-visible, so it makes little sense to
depend on it. Make LMH driver select QCOM_SCM as all other drivers do
and, as the dependecy is now correctly handled, enable || COMPILE_TEST
in order to include the driver into broader set of build tests.

Fixes: 9e5a4fb84230 ("thermal/drivers/qcom/lmh: make QCOM_LMH depends on QCOM_SCM")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20250728-lmh-scm-v2-1-33bc58388ca5@oss.qualcomm.com

authored by

Dmitry Baryshkov and committed by
Daniel Lezcano
57eda47b 5ea75f34

+2 -1
+2 -1
drivers/thermal/qcom/Kconfig
··· 34 34 35 35 config QCOM_LMH 36 36 tristate "Qualcomm Limits Management Hardware" 37 - depends on ARCH_QCOM && QCOM_SCM 37 + depends on ARCH_QCOM || COMPILE_TEST 38 + select QCOM_SCM 38 39 help 39 40 This enables initialization of Qualcomm limits management 40 41 hardware(LMh). LMh allows for hardware-enforced mitigation for cpus based on