Commit 24bc827b authored by Philipp Zabel's avatar Philipp Zabel Committed by Ralf Baechle

MIPS: lantiq: 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/12619/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2296cecf
...@@ -258,7 +258,7 @@ static int ltq_reset_device(struct reset_controller_dev *rcdev, ...@@ -258,7 +258,7 @@ static int ltq_reset_device(struct reset_controller_dev *rcdev,
return ltq_deassert_device(rcdev, id); return ltq_deassert_device(rcdev, id);
} }
static struct reset_control_ops reset_ops = { static const struct reset_control_ops reset_ops = {
.reset = ltq_reset_device, .reset = ltq_reset_device,
.assert = ltq_assert_device, .assert = ltq_assert_device,
.deassert = ltq_deassert_device, .deassert = ltq_deassert_device,
......
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