reset: zynqmp: Make reset_control_ops const
The zynqmp_reset_ops structure is never modified. Make it const. Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
@@ -64,7 +64,7 @@ static int zynqmp_reset_reset(struct reset_controller_dev *rcdev,
|
|||||||
PM_RESET_ACTION_PULSE);
|
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,
|
.reset = zynqmp_reset_reset,
|
||||||
.assert = zynqmp_reset_assert,
|
.assert = zynqmp_reset_assert,
|
||||||
.deassert = zynqmp_reset_deassert,
|
.deassert = zynqmp_reset_deassert,
|
||||||
|
|||||||
Reference in New Issue
Block a user