thermal: spear: allow compile test
authorEduardo Valentin <edubezval@gmail.com>
Thu, 10 Sep 2015 03:42:01 +0000 (20:42 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 14 Sep 2015 02:33:51 +0000 (19:33 -0700)
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>
drivers/thermal/Kconfig

index ef48f23823c8a410510e1c929ce3704f996ce0c8..e2cfaa44ee1b1242b72358a1f6020b9b09545273 100644 (file)
@@ -182,7 +182,7 @@ config IMX_THERMAL
 
 config SPEAR_THERMAL
        bool "SPEAr thermal sensor driver"
-       depends on PLAT_SPEAR
+       depends on PLAT_SPEAR || COMPILE_TEST
        depends on OF
        help
          Enable this to plug the SPEAr thermal sensor driver into the Linux