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

reset: img: Make reset_control_ops const



The pistachio_reset_ops structure is never modified. Make it const.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: default avatarJames Hartley <james.hartley@imgtec.com>
parent b7a90075
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static int pistachio_reset_deassert(struct reset_controller_dev *rcdev,
				  mask, 0);
}

static struct reset_control_ops pistachio_reset_ops = {
static const struct reset_control_ops pistachio_reset_ops = {
	.assert		= pistachio_reset_assert,
	.deassert	= pistachio_reset_deassert,
};