]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: mediatek: Drop __initconst from gates
authorSjoerd Simons <sjoerd@collabora.com>
Tue, 23 Dec 2025 11:05:17 +0000 (12:05 +0100)
committerStephen Boyd <sboyd@kernel.org>
Fri, 23 Jan 2026 01:42:29 +0000 (17:42 -0800)
commit871afb43e41ad4e8246438de495a939cd0f8113c
tree7f8b65e29966afc7d01b45802b109c17450c6d03
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
clk: mediatek: Drop __initconst from gates

Since commit 8ceff24a754a ("clk: mediatek: clk-gate: Refactor
mtk_clk_register_gate to use mtk_gate struct") the mtk_gate structs
are no longer just used for initialization/registration, but also at
runtime. So drop __initconst annotations.

Fixes: 8ceff24a754a ("clk: mediatek: clk-gate: Refactor mtk_clk_register_gate to use mtk_gate struct")
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Laura Nao <laura.nao@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt7981-eth.c
drivers/clk/mediatek/clk-mt8516.c