pmdomain: starfive: Replace SOC_STARFIVE with ARCH_STARFIVE
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Wed, 13 Sep 2023 13:54:26 +0000 (14:54 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Sep 2023 22:22:48 +0000 (00:22 +0200)
Using ARCH_FOO symbol is preferred than SOC_FOO.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230913-legibly-treachery-567cffcb5604@spud
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/soc/starfive/Kconfig

index bdb96dc..1e9b0c4 100644 (file)
@@ -3,8 +3,8 @@
 config JH71XX_PMU
        bool "Support PMU for StarFive JH71XX Soc"
        depends on PM
-       depends on SOC_STARFIVE || COMPILE_TEST
-       default SOC_STARFIVE
+       depends on ARCH_STARFIVE || COMPILE_TEST
+       default ARCH_STARFIVE
        select PM_GENERIC_DOMAINS
        help
          Say 'y' here to enable support power domain support.