summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 09:44:41 (GMT)
committerShawn Guo <shawnguo@kernel.org>2016-02-29 02:37:44 (GMT)
commitd2443b2e6167e80eca9a068d5ecc0e6f081b3ca4 (patch)
tree8dd74cd0d5ff333c9db86bbbf345e6506678dd20 /arch/arm/mach-imx
parentbc3d8ede3a1d1336507d6a382764319cbbc9cf7a (diff)
downloadlinux-d2443b2e6167e80eca9a068d5ecc0e6f081b3ca4.tar.xz
ARM: imx: Make reset_control_ops const
The imx_src_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/src.c b/arch/arm/mach-imx/src.c
index 45f7f4e..70b083f 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,
};