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>
This commit is contained in:
parent
bc3d8ede3a
commit
d2443b2e61
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue