thermal: hisi: allow compile test
authorEduardo Valentin <edubezval@gmail.com>
Thu, 10 Sep 2015 03:39:44 +0000 (20:39 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 14 Sep 2015 02:33:51 +0000 (19:33 -0700)
Adding COMPILE_TEST flag to hisi 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 039004400987366b876be8ce58bc1290844f4e08..ef48f23823c8a410510e1c929ce3704f996ce0c8 100644 (file)
@@ -163,7 +163,7 @@ config THERMAL_EMULATION
 
 config HISI_THERMAL
        tristate "Hisilicon thermal driver"
-       depends on ARCH_HISI && CPU_THERMAL && OF
+       depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST
        help
          Enable this to plug hisilicon's thermal sensor driver into the Linux
          thermal framework. cpufreq is used as the cooling device to throttle