Thread (6 messages) 6 messages, 3 authors, 2020-03-01

Re: [PATCH] soc: amlogic: fix compile failure with MESON_SECURE_PM_DOMAINS & !MESON_SM

From: Stephen Rothwell <hidden>
Date: 2020-02-23 23:17:01
Also in: linux-amlogic, linux-devicetree, linux-pm, lkml

Hi all,

On Tue, 18 Feb 2020 09:22:29 +1100 Stephen Rothwell [off-list ref] wrote:
On Tue, 18 Feb 2020 08:07:43 +1100 Stephen Rothwell [off-list ref] wrote:
quoted
On Tue, 18 Feb 2020 00:12:13 +0800 Jianxin Pan [off-list ref] wrote:  
quoted
When MESON_SECURE_PM_DOMAINS & !MESON_SM, there will be compile failure:
.../meson-secure-pwrc.o: In function `meson_secure_pwrc_on':
.../meson-secure-pwrc.c:76: undefined reference to `meson_sm_call'

Fix this by adding depends on MESON_SM for MESON_SECURE_PM_DOMAINS.

Fixes: b3dde5013e13 ("soc: amlogic: Add support for Secure power domains controller")

Reported-by: kbuild test robot <redacted>
Reported-by: patchwork-bot+linux-amlogic<patchwork-bot+linux-amlogic@kernel.org>
Reported-by: Stephen Rothwell<redacted>
Signed-off-by: Jianxin Pan <redacted>
---
 drivers/soc/amlogic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)    
I will apply that patch to linux-next today.  
This fixes the build for me.

Tested-by: Stephen Rothwell<redacted>

Also, please keep the commit message tags together at the end of the
commit message i.e. remove the blank line after the Fixes: tag above.
(see "git interpret-trailers ")
I am still applying this patch ...
-- 
Cheers,
Stephen Rothwell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help