[PATCH v2] thermal: db8500_cpufreq_cooling: Compile with COMPILE_TEST

DORMANTno replies

From: Luis de Bethencourt <hidden>
Date: 2015-10-14 18:43:46
Also in: lkml
Subsystem: the rest, thermal · Maintainers: Linus Torvalds, Rafael J. Wysocki, Daniel Lezcano

This driver only has runtime but no build time dependencies, so it can be
built for testing purposes if the Kconfig COMPILE_TEST option is enabled.

This is useful to have more build coverage and make sure that drivers are
not affected by changes that could cause build regressions.

Signed-off-by: Luis de Bethencourt <redacted>
---

Hi,

This is the second version of:
https://lkml.org/lkml/2015/10/14/691

After removing COMPILE_TEST for INTEL_QUARK_DTS_THERMAL, only
DB8500_CPUFREQ_COOLING remains. Which is why I have changed the subject line
of the commit message.

Sorry for the kbuild test robot failure in the first version.

Thanks,
Luis

 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index a94ebb5..cdaf469 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -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.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help