Browse Source

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>
Philipp Zabel 9 years ago
parent
commit
d2443b2e61
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-imx/src.c

+ 1 - 1
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,
 };