Commit c1b065b4 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,