mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
clk: mmp: Make reset_control_ops const
The mmp_clk_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
f39bb4579c
commit
fd92f41dc2
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ static int mmp_clk_reset_deassert(struct reset_controller_dev *rcdev,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct reset_control_ops mmp_clk_reset_ops = {
|
static const struct reset_control_ops mmp_clk_reset_ops = {
|
||||||
.assert = mmp_clk_reset_assert,
|
.assert = mmp_clk_reset_assert,
|
||||||
.deassert = mmp_clk_reset_deassert,
|
.deassert = mmp_clk_reset_deassert,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue