提交 7ba256d2 编写于 作者: P Philipp Zabel 提交者: Stephen Boyd

clk: tegra: Make reset_control_ops const

The rst_ops structure is never modified. Make it const.
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
上级 5e7bc9c6
...@@ -271,7 +271,7 @@ void __init tegra_init_from_table(struct tegra_clk_init_table *tbl, ...@@ -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, .assert = tegra_clk_rst_assert,
.deassert = tegra_clk_rst_deassert, .deassert = tegra_clk_rst_deassert,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册