projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7bc9c
)
clk: tegra: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:45:11 +0000
(10:45 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 29 Mar 2016 23:30:12 +0000
(16:30 -0700)
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>
drivers/clk/tegra/clk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/tegra/clk.c
b/drivers/clk/tegra/clk.c
index 2a3a4fe803d6d27e16c7de373f0ec1b8f2164264..f60fe2e344ca0a5828f643e7623ed14e619f760e 100644
(file)
--- 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,
};