From: Ulf Hansson Date: Mon, 24 Feb 2025 12:05:29 +0000 (+0100) Subject: pmdomain: rockchip: Fix build error X-Git-Tag: v6.15-rc1~177^2~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4bc2a1609712e6c5de01be8a20341b710dc99b;p=thirdparty%2Fkernel%2Fstable.git 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 Fixes: 61eeb9678789 ("pmdomain: rockchip: Check if SMC could be handled by TA") Signed-off-by: Ulf Hansson --- diff --git a/drivers/pmdomain/rockchip/Kconfig b/drivers/pmdomain/rockchip/Kconfig index b0d70f1a8439e..7e4f9b628f0b7 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.