Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
d2443b2e61
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
 	return 0;
 }
 }
 
 
-static struct reset_control_ops imx_src_ops = {
+static const struct reset_control_ops imx_src_ops = {
 	.reset = imx_src_reset_module,
 	.reset = imx_src_reset_module,
 };
 };