From: Geert Uytterhoeven Date: Tue, 30 Sep 2025 14:50:23 +0000 (+0200) Subject: clk: COMMON_CLK_RPMI should depend on RISCV X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68247d45c045bb7dda923cf2c8d0937ce0e16394;p=thirdparty%2Fkernel%2Fstable.git 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 --- diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 4d51fa589c1ee..6fc5ae76b483b 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