[PATCH 06/17] thermal: u8500: allow compile test

Eduardo Valentin
2015-09-10T04:12:01Z

Adding COMPILE_TEST flag to u8500 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>
---
drivers/thermal/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index b38ce41..f810bad 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -224,7 +224,7 @@ config DOVE_THERMAL

config DB8500_THERMAL
bool "DB8500 thermal management"
- depends on ARCH_U8500
+ depends on ARCH_U8500 || COMPILE_TEST
default y
help
Adds DB8500 thermal management implementation according to the thermal
@@ -252,7 +252,7 @@ config TEGRA_SOCTHERM

config DB8500_CPUFREQ_COOLING
tristate "DB8500 cpufreq cooling"
- depends on ARCH_U8500
+ depends on ARCH_U8500 || COMPILE_TEST
depends on CPU_THERMAL
default y
help
--
2.5.0