diff mbox

[v2] thermal: db8500_cpufreq_cooling: Compile with COMPILE_TEST

Message ID 1444848209-17552-1-git-send-email-luisbg@osg.samsung.com (mailing list archive)
State Accepted, archived
Delegated to: Eduardo Valentin
Headers show

Commit Message

Luis de Bethencourt Oct. 14, 2015, 6:43 p.m. UTC
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 <luisbg@osg.samsung.com>
---

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 mbox

Patch

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