瀏覽代碼

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>
Eduardo Valentin 9 年之前
父節點
當前提交
74e5053cd7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/thermal/Kconfig

+ 1 - 0
drivers/thermal/Kconfig

@@ -368,6 +368,7 @@ config INTEL_PCH_THERMAL
 config MTK_THERMAL
 config MTK_THERMAL
 	tristate "Temperature sensor driver for mediatek SoCs"
 	tristate "Temperature sensor driver for mediatek SoCs"
 	depends on ARCH_MEDIATEK || COMPILE_TEST
 	depends on ARCH_MEDIATEK || COMPILE_TEST
+	depends on HAS_IOMEM
 	default y
 	default y
 	help
 	help
 	  Enable this option if you want to have support for thermal management
 	  Enable this option if you want to have support for thermal management