Browse Source

thermal: spear: allow compile test

Adding COMPILE_TEST flag to spear driver to facilitate
maintenance.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Eduardo Valentin 10 years ago
parent
commit
aa2937b73a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/thermal/Kconfig

+ 1 - 1
drivers/thermal/Kconfig

@@ -182,7 +182,7 @@ config IMX_THERMAL
 
 
 config SPEAR_THERMAL
 config SPEAR_THERMAL
 	bool "SPEAr thermal sensor driver"
 	bool "SPEAr thermal sensor driver"
-	depends on PLAT_SPEAR
+	depends on PLAT_SPEAR || COMPILE_TEST
 	depends on OF
 	depends on OF
 	help
 	help
 	  Enable this to plug the SPEAr thermal sensor driver into the Linux
 	  Enable this to plug the SPEAr thermal sensor driver into the Linux