Message ID | 1464182679-2545-1-git-send-email-pbrobinson@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
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
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(-)