From: Eduardo Valentin Date: Thu, 10 Sep 2015 03:39:44 +0000 (-0700) Subject: thermal: hisi: allow compile test X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f9e2b05218e64fc6c614b90a650863981701f974;p=openwrt%2Fstaging%2Fblogic.git thermal: hisi: allow compile test Adding COMPILE_TEST flag to hisi driver to facilitate maintenance. Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- 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