[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1444839380-29236-1-git-send-email-luisbg@osg.samsung.com>
Date: Wed, 14 Oct 2015 17:16:20 +0100
From: Luis de Bethencourt <luisbg@....samsung.com>
To: linux-kernel@...r.kernel.org
Cc: rui.zhang@...el.com, edubezval@...il.com, linux-pm@...r.kernel.org,
javier@....samsung.com,
Luis de Bethencourt <luisbg@....samsung.com>
Subject: [PATCH] thermal: kconfig: When possible, compile drivers with COMPILE_TEST
These drivers only have runtime but no build time dependencies, so they 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@....samsung.com>
---
drivers/thermal/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index a94ebb5..844c219 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
@@ -309,7 +309,7 @@ config INTEL_SOC_DTS_THERMAL
config INTEL_QUARK_DTS_THERMAL
tristate "Intel Quark DTS thermal driver"
- depends on X86_INTEL_QUARK
+ depends on X86_INTEL_QUARK || COMPILE_TEST
help
Enable this to register Intel Quark SoC (e.g. X1000) platform digital
temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
--
2.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists