Skip to contentSkip to conversation

thermal: imx: depend on imx SoC arch

PATCH In review Peter Robinson 3 participants 3 messages May 25, 2016 – Aug 21, 2016 Thermal

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 thermal: imx: depend on imx SoC arch

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

---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index 3c3dc4a..d297338 100644
@@ -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
Signature · 1 line
2.7.4