Commit d2443b2e authored by Philipp Zabel's avatar Philipp Zabel Committed by Shawn Guo

ARM: imx: Make reset_control_ops const

The imx_src_ops structure is never modified. Make it const.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent bc3d8ede
...@@ -73,7 +73,7 @@ static int imx_src_reset_module(struct reset_controller_dev *rcdev, ...@@ -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,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment