mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-03 13:53:48 +00:00
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>
This commit is contained in:
parent
f55532a0c0
commit
f39bb4579c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ static int mtk_reset(struct reset_controller_dev *rcdev,
|
||||||
return mtk_reset_deassert(rcdev, id);
|
return mtk_reset_deassert(rcdev, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct reset_control_ops mtk_reset_ops = {
|
static const struct reset_control_ops mtk_reset_ops = {
|
||||||
.assert = mtk_reset_assert,
|
.assert = mtk_reset_assert,
|
||||||
.deassert = mtk_reset_deassert,
|
.deassert = mtk_reset_deassert,
|
||||||
.reset = mtk_reset,
|
.reset = mtk_reset,
|
||||||
|
|
Loading…
Add table
Reference in a new issue