Skip to content
Commit 9ef7a792 authored by Jianxin Pan's avatar Jianxin Pan Committed by Kevin Hilman
Browse files

soc: amlogic: fix compile failure with MESON_SECURE_PM_DOMAINS & !MESON_SM



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: b3dde501 ("soc: amlogic: Add support for Secure power domains controller")
Reported-by: default avatarStephen <Rothwell&lt;sfr@canb.auug.org.au>
Reported-by: default avatar <patchwork-bot+linux-amlogic&lt;patchwork-bot+linux-amlogic@kernel.org>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarJianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Tested-by: default avatarStephen <Rothwell&lt;sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/1581955933-69832-1-git-send-email-jianxin.pan@amlogic.com
parent b3dde501
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment