Skip to content

Commit

Permalink
clk: mmp: Make reset_control_ops const
Browse files Browse the repository at this point in the history
The mmp_clk_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
  • Loading branch information
pH5 authored and bebarino committed Mar 29, 2016
1 parent f39bb45 commit fd92f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/mmp/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static int mmp_clk_reset_deassert(struct reset_controller_dev *rcdev,
return 0;
}

static struct reset_control_ops mmp_clk_reset_ops = {
static const struct reset_control_ops mmp_clk_reset_ops = {
.assert = mmp_clk_reset_assert,
.deassert = mmp_clk_reset_deassert,
};
Expand Down

0 comments on commit fd92f41

Please sign in to comment.