[PATCH v2 5/5] clk: sifive: Move all stuff into SoCs header files from C files

Stephen Boyd sboyd at kernel.org
Tue Mar 15 17:02:40 PDT 2022


Quoting Zong Li (2022-03-04 02:03:21)
> Improve PRCI driver to reduce the complexity, we remove the SoCs C files
> by putting all stuff in each SoCs header files, and include these
> SoCs-specific header files in core of PRCI. It can also avoid the W=1
> kernel build warnings about variable defined but not used
> [-Wunused-const-variable=], like commit 487dc7bb6a0c ("clk: sifive:
> fu540-prci: Declare static const variable 'prci_clk_fu540' where it's
> used") does.
> 
> Signed-off-by: Zong Li <zong.li at sifive.com>
> Suggested-by: Lee Jones <lee.jones at linaro.org>
> Reviewed-by: Lee Jones <lee.jones at linaro.org>
> Acked-by: Palmer Dabbelt <palmer at rivosinc.com>
> ---

Applied to clk-next



More information about the linux-riscv mailing list