summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2015-09-10 05:39:44 +0200
committerEduardo Valentin <edubezval@gmail.com>2015-09-14 04:33:51 +0200
commitf9e2b05218e64fc6c614b90a650863981701f974 (patch)
tree6b8123b2a1ad337dec5fe5b60fd7d0dda36fc7fa
parentthermal: Fix thermal_zone_of_sensor_register to match documentation (diff)
downloadlinux-f9e2b05218e64fc6c614b90a650863981701f974.tar.xz
linux-f9e2b05218e64fc6c614b90a650863981701f974.zip
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>
-rw-r--r--drivers/thermal/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 039004400987..ef48f23823c8 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -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