]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sifive: Add SoCs prefix in each SoCs-dependent data
authorZong Li <zong.li@sifive.com>
Fri, 4 Mar 2022 10:03:20 +0000 (18:03 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 Mar 2022 22:56:28 +0000 (15:56 -0700)
commit215d27d93cca71c334119044da01af3ae0644a28
treef3f323b9675f591ee9a03f55282b0eb857497b29
parentf0741889e53033cca6a8926600a0af4d4d345404
clk: sifive: Add SoCs prefix in each SoCs-dependent data

This patch is prerequisite for moving SoCs C files into SoCs header
files. Currently, fu540-prci.c and fu740-prci.c use same names for
several macro definitions and variables, it would cause redefinition
error when we trying to include all stuff in sifive-prci.c. In this
patch, we also remove the temporary macro definitions which are
added by previous patch.

Signed-off-by: Zong Li <zong.li@sifive.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/7728ef662c59449ce954b1b62c6ad5241e07adfb.1646388139.git.zong.li@sifive.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sifive/fu540-prci.c
drivers/clk/sifive/fu740-prci.c