clk: renesas: rcar-gen4: Fix initconst confusion for cpg_pll_config
authorAndi Kleen <ak@linux.intel.com>
Thu, 23 Jun 2022 08:32:17 +0000 (10:32 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 5 Jul 2022 07:20:34 +0000 (09:20 +0200)
commit0e704f6c42dc64f081d0b1738d06b2dee9524f27
tree9b9b8385a6a54be514e494ec0dd68521d662e20b
parent95d48d270305ad2ce4e6e8d84a9fb6ea49d6f8aa
clk: renesas: rcar-gen4: Fix initconst confusion for cpg_pll_config

A variable pointing to const isn't const itself. It'd have to contain
"const" keyword after "*" too. Therefore, cpg_pll_config cannot be put
to "rodata".  Hence use __initdata instead of __initconst to fix this.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
[js] more explanatory commit message.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20220623083217.26433-2-jslaby@suse.cz
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/rcar-gen4-cpg.c