summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-mt8167-vdec.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2023-03-06 17:05:06 +0300
committerStephen Boyd <sboyd@kernel.org>2023-03-13 21:50:14 +0300
commitb4bd678f27e24e5c7cb7ad87829a2f7d724fc5bb (patch)
tree878ec25f4d086afc2ca200f30a07f5b2857a637f /drivers/clk/mediatek/clk-mt8167-vdec.c
parentb27284336aa4b52129f5fd1f2e1f5b5fdccaee4b (diff)
downloadlinux-b4bd678f27e24e5c7cb7ad87829a2f7d724fc5bb.tar.xz
clk: mediatek: mt8167: Remove __initconst annotation from arrays
In preparation for converting the MT8167 clock drivers to be proper platform_driver(s), drop the __initconst annotation from all of the clock arrays since they will be used not only during init but also during runtime. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20230306140543.1813621-18-angelogioacchino.delregno@collabora.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8167-vdec.c')
-rw-r--r--drivers/clk/mediatek/clk-mt8167-vdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mt8167-vdec.c b/drivers/clk/mediatek/clk-mt8167-vdec.c
index 759e5791599f..905529789a7c 100644
--- a/drivers/clk/mediatek/clk-mt8167-vdec.c
+++ b/drivers/clk/mediatek/clk-mt8167-vdec.c
@@ -47,7 +47,7 @@ static const struct mtk_gate_regs vdec1_cg_regs = {
.ops = &mtk_clk_gate_ops_setclr_inv, \
}
-static const struct mtk_gate vdec_clks[] __initconst = {
+static const struct mtk_gate vdec_clks[] = {
/* VDEC0 */
GATE_VDEC0_I(CLK_VDEC_CKEN, "vdec_cken", "rg_vdec", 0),
/* VDEC1 */