Browse Source

thermal: hisi: allow compile test

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>
Eduardo Valentin 10 years ago
parent
commit
f9e2b05218
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/thermal/Kconfig

+ 1 - 1
drivers/thermal/Kconfig

@@ -163,7 +163,7 @@ config THERMAL_EMULATION
 
 
 config HISI_THERMAL
 config HISI_THERMAL
 	tristate "Hisilicon thermal driver"
 	tristate "Hisilicon thermal driver"
-	depends on ARCH_HISI && CPU_THERMAL && OF
+	depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST
 	help
 	help
 	  Enable this to plug hisilicon's thermal sensor driver into the Linux
 	  Enable this to plug hisilicon's thermal sensor driver into the Linux
 	  thermal framework. cpufreq is used as the cooling device to throttle
 	  thermal framework. cpufreq is used as the cooling device to throttle