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:
f39bb45
)
clk: mmp: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:45:07 +0000
(10:45 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 29 Mar 2016 23:29:34 +0000
(16:29 -0700)
The mmp_clk_reset_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/mmp/reset.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/mmp/reset.c
b/drivers/clk/mmp/reset.c
index b54da1fe73f07ea5f36a82ac33da211b9cc375a1..b4e4d6aa26319a3b871d7d609df4ac6ee9a9ab78 100644
(file)
--- a/
drivers/clk/mmp/reset.c
+++ b/
drivers/clk/mmp/reset.c
@@
-74,7
+74,7
@@
static int mmp_clk_reset_deassert(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops mmp_clk_reset_ops = {
+static
const
struct reset_control_ops mmp_clk_reset_ops = {
.assert = mmp_clk_reset_assert,
.deassert = mmp_clk_reset_deassert,
};