aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/sifive
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2023-04-06 21:57:47 +0100
committerStephen Boyd <sboyd@kernel.org>2023-04-10 13:00:59 -0700
commitfb8b9d23f15f1440671d0127f7ad68d679fd29a3 (patch)
tree82b1618e2a8d00616e4fd0fe1f50ece1944ba517 /drivers/clk/sifive
parentclk: stm32h7: Remove an unused field in struct stm32_fractional_divider (diff)
downloadwireguard-linux-fb8b9d23f15f1440671d0127f7ad68d679fd29a3.tar.xz
wireguard-linux-fb8b9d23f15f1440671d0127f7ad68d679fd29a3.zip
clk: sifive: make SiFive clk drivers depend on ARCH_ symbols
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>
Diffstat (limited to 'drivers/clk/sifive')
-rw-r--r--drivers/clk/sifive/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig
index b7fde0aadfcb..2322f634a910 100644
--- a/drivers/clk/sifive/Kconfig
+++ b/drivers/clk/sifive/Kconfig
@@ -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