summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 10:45:11 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 01:30:12 +0200
commit7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c (patch)
tree3ddae7b3c6ac8fe27c8786fc1ea34e0794d3e11d /drivers/clk
parentclk: sunxi: Make reset_control_ops const (diff)
downloadlinux-7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c.tar.xz
linux-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.c2
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,
};