This Linux kernel change "clk: sifive: restrict Kconfig scope for the FU540 PRCI driver" is included in the Linux 5.2 release. This change is authored by Paul Walmsley <paul.walmsley [at] sifive.com> on Mon May 13 14:30:04 2019 -0700. The commit for this change in Linux stable tree is f7df8c9 (patch).
clk: sifive: restrict Kconfig scope for the FU540 PRCI driver Restrict Kconfig scope for SiFive clock and reset IP block drivers such that they won't appear on most configurations that are unlikely to support them. This is based on a suggestion from Pavel Machek <pa[email protected]>. Ideally this should be dependent on CONFIG_ARCH_SIFIVE, but since that Kconfig directive does not yet exist, add dependencies on RISCV or COMPILE_TEST for now. Signed-off-by: Paul Walmsley <[email protected]> Signed-off-by: Paul Walmsley <[email protected]> Reported-by: Pavel Machek <[email protected]> Cc: Michael Turquette <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.
drivers/clk/sifive/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig index 8db4a3e..f3b4eb9 100644 --- a/drivers/clk/sifive/Kconfig +++ b/drivers/clk/sifive/Kconfig @@ -2,6 +2,7 @@ menuconfig CLK_SIFIVE bool "SiFive SoC driver support" + depends on RISCV || COMPILE_TEST help SoC drivers for SiFive Linux-capable SoCs.