Commit 356d108f authored by Philipp Zabel's avatar Philipp Zabel

reset: zynq: Make reset_control_ops const

The zynq_reset_ops structure is never modified. Make it const.
Signed-off-by: default avatarPhilipp Zabel <>
parent 387eb3f3
......@@ -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,
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