Skip to content

Commit bc4bc2a

Browse files
committed
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 <[email protected]> Fixes: 61eeb96 ("pmdomain: rockchip: Check if SMC could be handled by TA") Signed-off-by: Ulf Hansson <[email protected]>
1 parent 61eeb96 commit bc4bc2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pmdomain/rockchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ if ARCH_ROCKCHIP || COMPILE_TEST
44
config ROCKCHIP_PM_DOMAINS
55
bool "Rockchip generic power domain"
66
depends on PM
7+
depends on HAVE_ARM_SMCCC_DISCOVERY
78
select PM_GENERIC_DOMAINS
89
help
910
Say y here to enable power domain support.

0 commit comments

Comments
 (0)