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
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue