From d2443b2e6167e80eca9a068d5ecc0e6f081b3ca4 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 25 Feb 2016 10:44:41 +0100
Subject: [PATCH] ARM: imx: Make reset_control_ops const
The imx_src_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
Signed-off-by: Shawn Guo
---
arch/arm/mach-imx/src.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/src.c b/arch/arm/mach-imx/src.c
index 45f7f4e0a447..70b083fe934a 100644
--- a/arch/arm/mach-imx/src.c
+++ b/arch/arm/mach-imx/src.c
@@ -73,7 +73,7 @@ static int imx_src_reset_module(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops imx_src_ops = {
+static const struct reset_control_ops imx_src_ops = {
.reset = imx_src_reset_module,
};
--
2.20.1