Skip to content

Commit

Permalink
clk: tegra: Make reset_control_ops const
Browse files Browse the repository at this point in the history
The 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 5e7bc9c commit 7ba256d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/tegra/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void __init tegra_init_from_table(struct tegra_clk_init_table *tbl,
}
}

static struct reset_control_ops rst_ops = {
static const struct reset_control_ops rst_ops = {
.assert = tegra_clk_rst_assert,
.deassert = tegra_clk_rst_deassert,
};
Expand Down

0 comments on commit 7ba256d

Please sign in to comment.