thermal: mtk: allow compile testing on UM
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Mar 2016 21:32:48 +0000 (13:32 -0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 8 Mar 2016 21:34:25 +0000 (13:34 -0800)
Following the fix on thermal Kconfig, this
patch adds dependency on HAS_IOMEM so driver
properly compile test on UM arch.

Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig

index 5e7c97a3f1d8b2d629481486f67fa3119e092124..462d0149460d7d8be991e46b01708d831d125f4d 100644 (file)
@@ -368,6 +368,7 @@ config INTEL_PCH_THERMAL
 config MTK_THERMAL
        tristate "Temperature sensor driver for mediatek SoCs"
        depends on ARCH_MEDIATEK || COMPILE_TEST
+       depends on HAS_IOMEM
        default y
        help
          Enable this option if you want to have support for thermal management