mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
reset: hi6220: Make reset_control_ops const
The hi6220_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
d2f79f223f
commit
0e18e60e1b
@ -57,7 +57,7 @@ static int hi6220_reset_deassert(struct reset_controller_dev *rc_dev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct reset_control_ops hi6220_reset_ops = {
|
||||
static const struct reset_control_ops hi6220_reset_ops = {
|
||||
.assert = hi6220_reset_assert,
|
||||
.deassert = hi6220_reset_deassert,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user