linux/drivers/soc/amlogic
Jianxin Pan 9ef7a79206 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: b3dde5013e ("soc: amlogic: Add support for Secure power domains controller")
Reported-by: Stephen Rothwell<sfr@canb.auug.org.au>
Reported-by: patchwork-bot+linux-amlogic<patchwork-bot+linux-amlogic@kernel.org>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Stephen Rothwell<sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/1581955933-69832-1-git-send-email-jianxin.pan@amlogic.com
2020-02-29 08:53:43 -08:00
..
Kconfig soc: amlogic: fix compile failure with MESON_SECURE_PM_DOMAINS & !MESON_SM 2020-02-29 08:53:43 -08:00
Makefile soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00
meson-canvas.c soc: amlogic: canvas: add support for Meson8, Meson8b and Meson8m2 2019-05-22 18:19:14 -07:00
meson-clk-measure.c soc: amlogic: clk-measure: Add support for SM1 2019-08-20 12:21:13 -07:00
meson-ee-pwrc.c soc: amlogic: meson-ee-pwrc: propagate errors from pm_genpd_init() 2019-12-09 15:21:20 -08:00
meson-gx-pwrc-vpu.c soc: amlogic: meson-gx-pwrc-vpu: Add support for G12A 2019-04-16 11:09:53 -07:00
meson-gx-socinfo.c soc: amlogic: meson-gx-socinfo: Fix S905D3 ID for VIM3L 2019-11-06 11:12:58 -08:00
meson-mx-socinfo.c meson-mx-socinfo: Make local function meson_mx_socinfo_init() static 2018-02-12 14:15:47 -08:00
meson-secure-pwrc.c soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00