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 <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
Peter Robinson 2016-05-25 14:45:50 +01:00 • committed by Zhang Rui
commit eea6a36439

View file

@ -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