Commit 7371a20b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Stephen Boyd

clk: shmobile: r8a7778: Make r8a7778_rates[] and r8a7778_divs[] static const

r8a7778_rates[] and r8a7778_divs[] are only used in clk-r8a7778.c, and
never modified.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 7e96353c
...@@ -20,10 +20,10 @@ struct r8a7778_cpg { ...@@ -20,10 +20,10 @@ struct r8a7778_cpg {
}; };
/* PLL multipliers per bits 11, 12, and 18 of MODEMR */ /* PLL multipliers per bits 11, 12, and 18 of MODEMR */
struct { static const struct {
unsigned long plla_mult; unsigned long plla_mult;
unsigned long pllb_mult; unsigned long pllb_mult;
} r8a7778_rates[] __initdata = { } r8a7778_rates[] __initconst = {
[0] = { 21, 21 }, [0] = { 21, 21 },
[1] = { 24, 24 }, [1] = { 24, 24 },
[2] = { 28, 28 }, [2] = { 28, 28 },
...@@ -34,10 +34,10 @@ struct { ...@@ -34,10 +34,10 @@ struct {
}; };
/* Clock dividers per bits 1 and 2 of MODEMR */ /* Clock dividers per bits 1 and 2 of MODEMR */
struct { static const struct {
const char *name; const char *name;
unsigned int div[4]; unsigned int div[4];
} r8a7778_divs[6] __initdata = { } r8a7778_divs[6] __initconst = {
{ "b", { 12, 12, 16, 18 } }, { "b", { 12, 12, 16, 18 } },
{ "out", { 12, 12, 16, 18 } }, { "out", { 12, 12, 16, 18 } },
{ "p", { 16, 12, 16, 12 } }, { "p", { 16, 12, 16, 12 } },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment