summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/reset.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 10:45:47 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:01:43 +0200
commitb11d022767f78357f08bc3d548e99af1c6cf7808 (patch)
tree8700300d165f2bca95c692a3cd5beb125f0db9ba /arch/mips/ralink/reset.c
parent24bc827beb2b0dea026015914924aede9c278a90 (diff)
MIPS: ralink: Make reset_control_ops const
The reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: John 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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/reset.c')
-rw-r--r--arch/mips/ralink/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/reset.c b/arch/mips/ralink/reset.c
index ee117c4bc4a3..09ccdd1b8f4d 100644
--- a/arch/mips/ralink/reset.c
+++ b/arch/mips/ralink/reset.c
@@ -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,