linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] thermal: imx: depend on imx SoC arch
@ 2016-05-25 13:45 Peter Robinson
  2016-08-20  0:43 ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Robinson @ 2016-05-25 13:45 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin, linux-pm, linux-kernel; +Cc: Peter Robinson

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(-)

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
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] thermal: imx: depend on imx SoC arch
  2016-05-25 13:45 [PATCH v2] thermal: imx: depend on imx SoC arch Peter Robinson
@ 2016-08-20  0:43 ` Shawn Guo
  2016-08-21 13:39   ` Zhang Rui
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2016-08-20  0:43 UTC (permalink / raw)
  To: Peter Robinson; +Cc: Zhang Rui, Eduardo Valentin, linux-pm, linux-kernel

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] thermal: imx: depend on imx SoC arch
  2016-08-20  0:43 ` Shawn Guo
@ 2016-08-21 13:39   ` Zhang Rui
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang Rui @ 2016-08-21 13:39 UTC (permalink / raw)
  To: Shawn Guo, Peter Robinson; +Cc: Eduardo Valentin, linux-pm, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-21 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 13:45 [PATCH v2] thermal: imx: depend on imx SoC arch Peter Robinson
2016-08-20  0:43 ` Shawn Guo
2016-08-21 13:39   ` Zhang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).