[PATCH v3 55/55] clk: mediatek: mt8135: Remove __initconst annotation from clock arrays
Chen-Yu Tsai
wenst at chromium.org
Mon Feb 20 20:04:15 PST 2023
On Mon, Feb 20, 2023 at 11:02 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno at collabora.com> wrote:
>
> Being this a platform driver, these arrays are not only used during
> init anymore, but also during runtime: remove the __initconst annotation
> from all of them.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
I think this should be squashed into the previous patch. Otherwise with just
that one, and with modules disabled, the driver would break if unbound
and rebound after late init, when the __initconst data has been dropped.
ChenYu
More information about the Linux-mediatek
mailing list