Skip to content

Commit 68247d4

Browse files
geertuPaul Walmsley
authored andcommitted
clk: COMMON_CLK_RPMI should depend on RISCV
The RISC-V platform management interface (RPMI) is only available on RISC-V platforms. Hence add a dependency on RISCV, to prevent asking the user about this driver when configuring a kernel for a different architecture. Fixes: 5ba9f52 ("clk: Add clock driver for the RISC-V RPMI clock service group") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent 21c3896 commit 68247d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/clk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ config COMMON_CLK_SP7021
503503

504504
config COMMON_CLK_RPMI
505505
tristate "Clock driver based on RISC-V RPMI"
506+
depends on RISCV || COMPILE_TEST
506507
depends on MAILBOX
507508
default RISCV
508509
help

0 commit comments

Comments
 (0)