Skip to content

Commit

Permalink
reset: sti: Make reset_control_ops const
Browse files Browse the repository at this point in the history
The syscfg_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Philipp Zabel committed Feb 10, 2016
1 parent 356d108 commit f673ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/reset/sti/reset-syscfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static int syscfg_reset_status(struct reset_controller_dev *rcdev,
return rst->active_low ? !ret_val : !!ret_val;
}

static struct reset_control_ops syscfg_reset_ops = {
static const struct reset_control_ops syscfg_reset_ops = {
.reset = syscfg_reset_dev,
.assert = syscfg_reset_assert,
.deassert = syscfg_reset_deassert,
Expand Down

0 comments on commit f673ed4

Please sign in to comment.