mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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: b3dde5013e ("soc: amlogic: Add support for Secure power domains controller")
Reported-by: Stephen Rothwell<[email protected]>
Reported-by: patchwork-bot+linux-amlogic<[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Jianxin Pan <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Tested-by: Stephen Rothwell<[email protected]>
Link: https://lore.kernel.org/r/[email protected]