[PATCH 12/15] thermal: rcar-thermal: Enable driver compilation with COMPILE_TEST

Laurent Pinchart laurent.pinchart+renesas at ideasonboard.com
Tue Nov 26 20:18:34 EST 2013


This helps increasing build testing coverage.

Cc: Zhang Rui <rui.zhang at intel.com>
Cc: Eduardo Valentin <eduardo.valentin at ti.com>
Cc: linux-pm at vger.kernel.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
Acked-by: Simon Horman <horms at verge.net.au>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index f35a1f7..661cafc 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -121,7 +121,7 @@ config SPEAR_THERMAL
 
 config RCAR_THERMAL
 	tristate "Renesas R-Car thermal driver"
-	depends on ARCH_SHMOBILE
+	depends on ARCH_SHMOBILE || COMPILE_TEST
 	help
 	  Enable this to plug the R-Car thermal sensor driver into the Linux
 	  thermal framework.
-- 
1.8.3.2




More information about the linux-arm-kernel mailing list