]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pmdomain: rockchip: Fix build error
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Feb 2025 12:05:29 +0000 (13:05 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Feb 2025 12:05:29 +0000 (13:05 +0100)
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>
drivers/pmdomain/rockchip/Kconfig

index b0d70f1a8439e180b74433bb0e45169b88a862e5..7e4f9b628f0b78b139e1b96a6e15356a28274985 100644 (file)
@@ -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.