From: Philipp Zabel 
Date: Thu, 25 Feb 2016 09:45:11 +0000 (+0100)
Subject: clk: tegra: Make reset_control_ops const
X-Git-Tag: v4.6-rc2~10^2~3
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c;p=users%2Fhch%2Fconfigfs.git
clk: tegra: Make reset_control_ops const
The rst_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel 
Signed-off-by: Stephen Boyd 
---
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,
 };