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:
@ -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,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user