Skip to content

Commit

Permalink
clk: sifive: make SiFive clk drivers depend on ARCH_ symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Conor Dooley authored and Stephen Boyd committed Apr 10, 2023
1 parent 643980f commit fb8b9d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/clk/sifive/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

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.

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
Expand Down

0 comments on commit fb8b9d2

Please sign in to comment.