* [PATCH] thermal: imx: depend on imx SoC arch
@ 2016-05-25 13:24 Peter Robinson
0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2016-05-25 13:24 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.
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..6b2f550 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 && OF) || COMPILE_TEST
depends on MFD_SYSCON
depends on OF
help
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-25 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 13:24 [PATCH] thermal: imx: depend on imx SoC arch Peter Robinson
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).