diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2016-05-25 15:45:50 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-09-27 08:02:16 +0200 |
commit | eea6a364393736693b2d2c7c10b8b7d194a5ca10 (patch) | |
tree | ef29e2beb8e5c99f0fc841f06de645e73c45f0c3 /drivers/thermal/Kconfig | |
parent | thermal: qcom: tsens: Fix return value check in init_common() (diff) | |
download | linux-eea6a364393736693b2d2c7c10b8b7d194a5ca10.tar.xz linux-eea6a364393736693b2d2c7c10b8b7d194a5ca10.zip |
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 <pbrobinson@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 |