diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-09-30 16:50:23 +0200 |
---|---|---|
committer | Paul Walmsley <pjw@kernel.org> | 2025-10-01 19:07:43 -0600 |
commit | 68247d45c045bb7dda923cf2c8d0937ce0e16394 (patch) | |
tree | 63a32f9c229aab5f4e82aada611c47ac0d5919ee | |
parent | 21c3896b471aafe906f35e8d5a2dbf713754079e (diff) |
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: 5ba9f520f41a33c9 ("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>
-rw-r--r-- | drivers/clk/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 4d51fa589c1e..6fc5ae76b483 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -503,6 +503,7 @@ config COMMON_CLK_SP7021 config COMMON_CLK_RPMI tristate "Clock driver based on RISC-V RPMI" + depends on RISCV || COMPILE_TEST depends on MAILBOX default RISCV help |