From b11d022767f78357f08bc3d548e99af1c6cf7808 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 25 Feb 2016 10:45:47 +0100
Subject: [PATCH] MIPS: ralink: Make reset_control_ops const
The reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
Acked-by: John Crispin
Cc: linux-mips@linux-mips.org
Cc: kernel@pengutronix.de
Patchwork: https://patchwork.linux-mips.org/patch/12618/
Signed-off-by: Ralf Baechle
---
arch/mips/ralink/reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.20.1