Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: mediatek: Make reset_control_ops const

The mtk_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Philipp Zabel and committed by
Stephen Boyd
f39bb457 f55532a0

+1 -1
+1 -1
drivers/clk/mediatek/reset.c
··· 57 57 return mtk_reset_deassert(rcdev, id); 58 58 } 59 59 60 - static struct reset_control_ops mtk_reset_ops = { 60 + static const struct reset_control_ops mtk_reset_ops = { 61 61 .assert = mtk_reset_assert, 62 62 .deassert = mtk_reset_deassert, 63 63 .reset = mtk_reset,