Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b11d0227 authored by Philipp Zabel's avatar Philipp Zabel Committed by Ralf Baechle
Browse files

MIPS: ralink: Make reset_control_ops const



The reset_ops structure is never modified. Make it const.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: default avatarJohn Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: kernel@pengutronix.de
Patchwork: https://patchwork.linux-mips.org/patch/12618/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 24bc827b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ static int ralink_reset_device(struct reset_controller_dev *rcdev,
	return ralink_deassert_device(rcdev, id);
}

static struct reset_control_ops reset_ops = {
static const struct reset_control_ops reset_ops = {
	.reset = ralink_reset_device,
	.assert = ralink_assert_device,
	.deassert = ralink_deassert_device,