diff options
| author | Zong Li <[email protected]> | 2022-03-04 10:03:21 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-03-15 22:56:28 +0000 |
| commit | 5e916932df639bc2eeecc96c3a1f2cce496f1a93 (patch) | |
| tree | 08629a87b765010731a5b9b555746f816d9202a5 /fs/proc/array.c | |
| parent | clk: sifive: Add SoCs prefix in each SoCs-dependent data (diff) | |
| download | kernel-5e916932df639bc2eeecc96c3a1f2cce496f1a93.tar.gz kernel-5e916932df639bc2eeecc96c3a1f2cce496f1a93.zip | |
clk: sifive: Move all stuff into SoCs header files from C files
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 <[email protected]>
Suggested-by: Lee Jones <[email protected]>
Reviewed-by: Lee Jones <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/a3c7ec5c46c1d8be455d1c347db4855bb56cec53.1646388139.git.zong.li@sifive.com
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
