Skip to content

Commit 8788252

Browse files
Marek Vasutgeertu
authored andcommitted
clk: renesas: r8a7795: Constify r8a7795_*_clks
Make r8a7795_core_clks and r8a7795_mod_clks arrays const and align them with the other clock tables in other *cpg-mssr.c . No functional change. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent fbb9915 commit 8788252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/renesas/r8a7795-cpg-mssr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ enum clk_ids {
5151
MOD_CLK_BASE
5252
};
5353

54-
static struct cpg_core_clk r8a7795_core_clks[] __initdata = {
54+
static const struct cpg_core_clk r8a7795_core_clks[] __initconst = {
5555
/* External Clock Inputs */
5656
DEF_INPUT("extal", CLK_EXTAL),
5757
DEF_INPUT("extalr", CLK_EXTALR),
@@ -128,7 +128,7 @@ static struct cpg_core_clk r8a7795_core_clks[] __initdata = {
128128
DEF_BASE("r", R8A7795_CLK_R, CLK_TYPE_GEN3_R, CLK_RINT),
129129
};
130130

131-
static struct mssr_mod_clk r8a7795_mod_clks[] __initdata = {
131+
static const struct mssr_mod_clk r8a7795_mod_clks[] __initconst = {
132132
DEF_MOD("3dge", 112, R8A7795_CLK_ZG),
133133
DEF_MOD("fdp1-1", 118, R8A7795_CLK_S0D1),
134134
DEF_MOD("fdp1-0", 119, R8A7795_CLK_S0D1),

0 commit comments

Comments
 (0)