Skip to content

Commit

Permalink
ARM: imx: Make reset_control_ops const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philipp Zabel authored and Shawn Guo committed Feb 29, 2016
1 parent bc3d8ed commit d2443b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-imx/src.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit d2443b2

Please sign in to comment.