]> xenbits.xensource.com Git - people/jgross/linux.git/commitdiff
clk: sifive: make SiFive clk drivers depend on ARCH_ symbols
authorConor Dooley <conor.dooley@microchip.com>
Thu, 6 Apr 2023 20:57:47 +0000 (21:57 +0100)
committerStephen Boyd <sboyd@kernel.org>
Mon, 10 Apr 2023 20:00:59 +0000 (13:00 -0700)
As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the
use of such symbols on other architectures, convert the SiFive clk
drivers to use the new symbol.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230406-groovy-trustable-15853ac0a130@spud
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sifive/Kconfig

index b7fde0aadfcbb0359a4f0334307f99f388c64a85..2322f634a910e9da09f3e4082d0c7c497158ea03 100644 (file)
@@ -2,8 +2,8 @@
 
 menuconfig CLK_SIFIVE
        bool "SiFive SoC driver support"
-       depends on SOC_SIFIVE || COMPILE_TEST
-       default SOC_SIFIVE
+       depends on ARCH_SIFIVE || COMPILE_TEST
+       default ARCH_SIFIVE
        help
          SoC drivers for SiFive Linux-capable SoCs.
 
@@ -11,7 +11,7 @@ if CLK_SIFIVE
 
 config CLK_SIFIVE_PRCI
        bool "PRCI driver for SiFive SoCs"
-       default SOC_SIFIVE
+       default ARCH_SIFIVE
        select RESET_CONTROLLER
        select RESET_SIMPLE
        select CLK_ANALOGBITS_WRPLL_CLN28HPC