summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2015-09-09 20:39:44 -0700
committerEduardo Valentin <edubezval@gmail.com>2015-09-13 19:33:51 -0700
commitf9e2b05218e64fc6c614b90a650863981701f974 (patch)
tree6b8123b2a1ad337dec5fe5b60fd7d0dda36fc7fa /drivers/thermal/Kconfig
parentcd33dc9ac2977ebe30cecbf39d2992190fbac5b4 (diff)
downloadlinux-f9e2b05218e64fc6c614b90a650863981701f974.tar.gz
linux-f9e2b05218e64fc6c614b90a650863981701f974.tar.bz2
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>
Diffstat (limited to 'drivers/thermal/Kconfig')
-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