summaryrefslogtreecommitdiff
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2015-09-10 03:39:44 (GMT)
committerEduardo Valentin <edubezval@gmail.com>2015-09-14 02:33:51 (GMT)
commitf9e2b05218e64fc6c614b90a650863981701f974 (patch)
tree6b8123b2a1ad337dec5fe5b60fd7d0dda36fc7fa /drivers/thermal/Kconfig
parentcd33dc9ac2977ebe30cecbf39d2992190fbac5b4 (diff)
downloadlinux-f9e2b05218e64fc6c614b90a650863981701f974.tar.xz
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 0390044..ef48f23 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