thermal: qcom_spmi: allow compile test

This change “thermal: qcom_spmi: allow compile test” (commit cb7fb4d) in Linux kernel is authored by Eduardo Valentin <edubezval [at] gmail.com> on Wed Sep 9 20:56:26 2015 -0700.

Description of "thermal: qcom_spmi: allow compile test"

The change “thermal: qcom_spmi: allow compile test” introduces changes as follows.

thermal: qcom_spmi: allow compile test

Adding COMPILE_TEST flag to qcom_spmi driver to facilitate
maintenance.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>

Linux kernel releases containing commit cb7fb4d

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "thermal: qcom_spmi: allow compile test"

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 15f7cde46628..7d95587b2757 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -364,7 +364,7 @@ endmenu
 
 config QCOM_SPMI_TEMP_ALARM
 	tristate "Qualcomm SPMI PMIC Temperature Alarm"
-	depends on OF && SPMI && IIO
+	depends on OF && (SPMI || COMPILE_TEST) && IIO
 	select REGMAP_SPMI
 	help
 	  This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)

The commit for this change in Linux stable tree is cb7fb4d (patch).

Last modified: 2020/02/09