summaryrefslogtreecommitdiff
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2016-03-08 13:32:48 -0800
committerEduardo Valentin <edubezval@gmail.com>2016-03-08 13:34:25 -0800
commit74e5053cd71bdfe9b390000edb5a63dcf1607305 (patch)
tree89ce25b50c1e1a74a81e1e45a9bda55bca7ae5c5 /drivers/thermal/Kconfig
parenteb4fc33eb2680750e6dc06bd40bf6a203e7ad312 (diff)
thermal: mtk: allow compile testing on UM
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>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 5e7c97a3f1d8..462d0149460d 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -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