diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-02-25 10:45:11 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-29 16:30:12 -0700 |
commit | 7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c (patch) | |
tree | 3ddae7b3c6ac8fe27c8786fc1ea34e0794d3e11d /drivers/clk | |
parent | 5e7bc9c6cee68fdd3583eb689583214a3d56341e (diff) | |
download | linux-stable-7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c.tar.gz linux-stable-7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c.tar.bz2 linux-stable-7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c.zip |
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/tegra/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index 2a3a4fe803d6..f60fe2e344ca 100644 --- a/drivers/clk/tegra/clk.c +++ b/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, }; |