From 68247d45c045bb7dda923cf2c8d0937ce0e16394 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Tue, 30 Sep 2025 16:50:23 +0200 Subject: [PATCH] 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 Signed-off-by: Paul Walmsley --- drivers/clk/Kconfig | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3