Skip to content

Commit

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

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  • Loading branch information
Philipp Zabel authored and Stephen Boyd committed Mar 29, 2016
1 parent 3fb950f commit b1b69c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/sirf/clk-atlas7.c
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ static int atlas7_reset_module(struct reset_controller_dev *rcdev,
return 0;
}

static struct reset_control_ops atlas7_rst_ops = {
static const struct reset_control_ops atlas7_rst_ops = {
.reset = atlas7_reset_module,
};

Expand Down

0 comments on commit b1b69c5

Please sign in to comment.