diff mbox

[v2] thermal: imx: depend on imx SoC arch

Message ID 1464183950-7035-1-git-send-email-pbrobinson@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Zhang Rui
Headers show

Commit Message

Peter Robinson May 25, 2016, 1:45 p.m. UTC
Not much use unless the SoC is selected so depend on the ARCH_MXC
and COMPILE_TEST like all the other thermal drivers.

v2: drop extraneous OF

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Aug. 20, 2016, 12:43 a.m. UTC | #1
On Wed, May 25, 2016 at 9:45 PM, Peter Robinson <pbrobinson@gmail.com> wrote:
> Not much use unless the SoC is selected so depend on the ARCH_MXC
> and COMPILE_TEST like all the other thermal drivers.
>
> v2: drop extraneous OF
>
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Acked-by: Shawn Guo <shawn.guo@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Zhang, Rui Aug. 21, 2016, 1:39 p.m. UTC | #2
On 六, 2016-08-20 at 08:43 +0800, Shawn Guo wrote:
> On Wed, May 25, 2016 at 9:45 PM, Peter Robinson <pbrobinson@gmail.com
> > wrote:
> > 
> > Not much use unless the SoC is selected so depend on the ARCH_MXC
> > and COMPILE_TEST like all the other thermal drivers.
> > 
> > v2: drop extraneous OF
> > 
> > Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Acked-by: Shawn Guo <shawn.guo@linaro.org>

patch applied.

thanks,
rui
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 3c3dc4a..d297338 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -186,7 +186,7 @@  config HISI_THERMAL
 
 config IMX_THERMAL
 	tristate "Temperature sensor driver for Freescale i.MX SoCs"
-	depends on CPU_THERMAL
+	depends on (ARCH_MXC && CPU_THERMAL) || COMPILE_TEST
 	depends on MFD_SYSCON
 	depends on OF
 	help