Browse Source

clk: tegra: Make reset_control_ops const

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>
Philipp Zabel 9 years ago
parent
commit
7ba256d2aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clk/tegra/clk.c

+ 1 - 1
drivers/clk/tegra/clk.c

@@ -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,
 };