summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2025-02-24 15:05:29 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2025-02-24 15:05:29 +0300
commitbc4bc2a1609712e6c5de01be8a20341b710dc99b (patch)
treecabed538957a4ea7cc99c17aa83176ef1917ea54
parent61eeb9678789644f118eff608d9031b5de4f719d (diff)
downloadlinux-bc4bc2a1609712e6c5de01be8a20341b710dc99b.tar.xz
pmdomain: rockchip: Fix build error
To resolve the build error with undefined reference to `arm_smccc_1_1_get_conduit', let's add a build dependency to HAVE_ARM_SMCCC_DISCOVERY. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 61eeb9678789 ("pmdomain: rockchip: Check if SMC could be handled by TA") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/pmdomain/rockchip/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pmdomain/rockchip/Kconfig b/drivers/pmdomain/rockchip/Kconfig
index b0d70f1a8439..7e4f9b628f0b 100644
--- a/drivers/pmdomain/rockchip/Kconfig
+++ b/drivers/pmdomain/rockchip/Kconfig
@@ -4,6 +4,7 @@ if ARCH_ROCKCHIP || COMPILE_TEST
config ROCKCHIP_PM_DOMAINS
bool "Rockchip generic power domain"
depends on PM
+ depends on HAVE_ARM_SMCCC_DISCOVERY
select PM_GENERIC_DOMAINS
help
Say y here to enable power domain support.