summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorPhilipp Zabel2016-02-25 10:44:41 +0100
committerShawn Guo2016-02-29 03:37:44 +0100
commitd2443b2e6167e80eca9a068d5ecc0e6f081b3ca4 (patch)
tree8dd74cd0d5ff333c9db86bbbf345e6506678dd20 /arch/arm/mach-imx
parentARM: imx: Do L2 errata only if the L2 cache isn't enabled (diff)
downloadkernel-qcow2-linux-d2443b2e6167e80eca9a068d5ecc0e6f081b3ca4.tar.gz
kernel-qcow2-linux-d2443b2e6167e80eca9a068d5ecc0e6f081b3ca4.tar.xz
kernel-qcow2-linux-d2443b2e6167e80eca9a068d5ecc0e6f081b3ca4.zip
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 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,
};