* [PATCH v2] thermal: qoriq: fix a compiling issue
@ 2020-03-03 8:46 andy.tang
2020-03-03 9:02 ` Daniel Lezcano
0 siblings, 1 reply; 2+ messages in thread
From: andy.tang @ 2020-03-03 8:46 UTC (permalink / raw)
To: rui.zhang, edubezval, daniel.lezcano
Cc: linux-pm, linux-kernel, Yuantian Tang
From: Yuantian Tang <andy.tang@nxp.com>
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>
---
v2:
- add Fixes tag
drivers/thermal/Kconfig | 1 +
1 file changed, 1 insertion(+)
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
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] thermal: qoriq: fix a compiling issue
2020-03-03 8:46 [PATCH v2] thermal: qoriq: fix a compiling issue andy.tang
@ 2020-03-03 9:02 ` Daniel Lezcano
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2020-03-03 9:02 UTC (permalink / raw)
To: andy.tang, rui.zhang, edubezval; +Cc: linux-pm, linux-kernel
On 03/03/2020 09:46, andy.tang@nxp.com wrote:
> From: Yuantian Tang <andy.tang@nxp.com>
>
> 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>
> ---
> v2:
> - add Fixes tag
>
> drivers/thermal/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 5a05db5438d6..5a0df0e54ce3 100644
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-03 9:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 8:46 [PATCH v2] thermal: qoriq: fix a compiling issue andy.tang
2020-03-03 9:02 ` Daniel Lezcano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®