aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuantian Tang <andy.tang@nxp.com>2020-03-03 16:46:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-23 10:38:20 +0200
commit6ea3d6d40f1d73d32b54ce7361c098c706a7a561 (patch)
tree93ffbbaa3fa61bd930c74ddf96c2dc774fdb4e50
parent2d00854b562a2b3e29d3d2ed9f9b254514963765 (diff)
downloadlinux-yocto-6ea3d6d40f1d73d32b54ce7361c098c706a7a561.tar.gz
linux-yocto-6ea3d6d40f1d73d32b54ce7361c098c706a7a561.tar.bz2
linux-yocto-6ea3d6d40f1d73d32b54ce7361c098c706a7a561.zip
thermal: qoriq: Fix a compiling issue
[ Upstream commit cbe259fd80b7b02fba0dad79d8fdda8b70a8b963 ] Qoriq thermal driver is used by both PowerPC and ARM architecture. When built for PowerPC architecture, it reports error: undefined reference to `.__devm_regmap_init_mmio_clk' To fix it, select config REGMAP_MMIO. Fixes: 4316237bd627 (thermal: qoriq: Convert driver to use regmap API) Signed-off-by: Yuantian Tang <andy.tang@nxp.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200303084641.35687-1-andy.tang@nxp.com Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/thermal/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 5a05db5438d6..5a0df0e54ce3 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -265,6 +265,7 @@ config QORIQ_THERMAL
tristate "QorIQ Thermal Monitoring Unit"
depends on THERMAL_OF
depends on HAS_IOMEM
+ select REGMAP_MMIO
help
Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms.
It supports one critical trip point and one passive trip point. The