Re: [PATCH -resend v2] clk: pistachio: Fix initconst confusion

From: Stephen Boyd
Date: Wed Sep 28 2022 - 21:35:25 EST


Quoting Jiri Slaby (2022-09-19 22:58:38)
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> A variable pointing to const isn't const itself. It has to contain
> "const" keyword after "*" too. So to keep it in __initconst (and not
> mark properly as __initdata), add the "const" keyword exactly there.
>
> Note we need to update struct pistachio_mux too. On the other hand, the
> clk core already counts with "const char *const" already.
>
> [js] more explanatory commit message.
>
> Cc: Michael Turquette <mturquette@xxxxxxxxxxxx>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
> Cc: linux-clk@xxxxxxxxxxxxxxx
> Cc: Martin Liska <mliska@xxxxxxx>
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> ---

Applied to clk-next