mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 11:10:53 +07:00
reset: zynq: Make reset_control_ops const
The zynq_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
387eb3f3d5
commit
356d108f87
@ -86,7 +86,7 @@ static int zynq_reset_status(struct reset_controller_dev *rcdev,
|
||||
return !!(reg & BIT(offset));
|
||||
}
|
||||
|
||||
static struct reset_control_ops zynq_reset_ops = {
|
||||
static const struct reset_control_ops zynq_reset_ops = {
|
||||
.assert = zynq_reset_assert,
|
||||
.deassert = zynq_reset_deassert,
|
||||
.status = zynq_reset_status,
|
||||
|
Loading…
Reference in New Issue
Block a user