From: Yuantian Tang Date: Tue, 3 Mar 2020 08:46:41 +0000 (+0800) Subject: thermal: qoriq: Fix a compiling issue X-Git-Tag: v5.10.7~2852^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbe259fd80b7b02fba0dad79d8fdda8b70a8b963;p=platform%2Fkernel%2Flinux-rpi.git thermal: qoriq: Fix a compiling issue 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 Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200303084641.35687-1-andy.tang@nxp.com --- diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index f3f7050..4d6753f 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -287,6 +287,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