Commit 0e18e60e authored by Philipp Zabel's avatar Philipp Zabel

reset: hi6220: Make reset_control_ops const

The hi6220_reset_ops structure is never modified. Make it const.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent d2f79f22
...@@ -57,7 +57,7 @@ static int hi6220_reset_deassert(struct reset_controller_dev *rc_dev, ...@@ -57,7 +57,7 @@ static int hi6220_reset_deassert(struct reset_controller_dev *rc_dev,
return 0; return 0;
} }
static struct reset_control_ops hi6220_reset_ops = { static const struct reset_control_ops hi6220_reset_ops = {
.assert = hi6220_reset_assert, .assert = hi6220_reset_assert,
.deassert = hi6220_reset_deassert, .deassert = hi6220_reset_deassert,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment