thermal: rcar-thermal: Enable driver compilation with COMPILE_TEST
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 27 Nov 2013 01:18:34 +0000 (02:18 +0100)
committerZhang Rui <rui.zhang@intel.com>
Thu, 2 Jan 2014 02:54:56 +0000 (10:54 +0800)
This helps increasing build testing coverage.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/Kconfig

index f35a1f75b15b87f2f37ea0bf671894acf549c207..661cafc756ac33200a4e4894f60801c17fc306db 100644 (file)
@@ -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.