Commit c1b065b4 authored by Philipp Zabel's avatar Philipp Zabel

reset: zynqmp: Make reset_control_ops const

The zynqmp_reset_ops structure is never modified. Make it const.
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent b1418bc8
......@@ -64,7 +64,7 @@ static int zynqmp_reset_reset(struct reset_controller_dev *rcdev,
PM_RESET_ACTION_PULSE);
}
static struct reset_control_ops zynqmp_reset_ops = {
static const struct reset_control_ops zynqmp_reset_ops = {
.reset = zynqmp_reset_reset,
.assert = zynqmp_reset_assert,
.deassert = zynqmp_reset_deassert,
......
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