thermal: qcom_spmi: allow compile test
authorEduardo Valentin <edubezval@gmail.com>
Thu, 10 Sep 2015 03:56:26 +0000 (20:56 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 14 Sep 2015 02:33:52 +0000 (19:33 -0700)
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>
drivers/thermal/Kconfig

index 15f7cde466285be5a8cd7d92688005ebc2de1ecf..7d95587b27573d0500ae43005154977b588f8e38 100644 (file)
@@ -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)