From: Peter Robinson Date: Wed, 25 May 2016 13:45:50 +0000 (+0100) Subject: thermal: imx: depend on imx SoC arch X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a5ecf8cb63b4a443d5c5430c00cecfdd2a6e352f;p=deliverable%2Flinux.git 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 Signed-off-by: Peter Robinson Acked-by: Shawn Guo Signed-off-by: Zhang Rui --- diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 94fa9e3f8235..900d505ee5d5 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