]> git.karo-electronics.de Git - linux-beck.git/commitdiff
thermal: db8500_cpufreq_cooling: Compile with COMPILE_TEST
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Wed, 14 Oct 2015 18:43:29 +0000 (19:43 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 8 Mar 2016 19:29:29 +0000 (11:29 -0800)
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>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig

index 7c92c09be21386c3d60ff41b76a6694234c93432..5670d26525147eecf07bd8f9d4b1704f78650fbc 100644 (file)
@@ -266,7 +266,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