projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55532a
)
clk: mediatek: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:45:06 +0000
(10:45 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 29 Mar 2016 23:29:19 +0000
(16:29 -0700)
The mtk_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mediatek/reset.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/mediatek/reset.c
b/drivers/clk/mediatek/reset.c
index 9e9fe4b19ac47b11dc2fba8431687137e1934f99..309049d41f1ba04539fee6a7853a98d1f44e7874 100644
(file)
--- a/
drivers/clk/mediatek/reset.c
+++ b/
drivers/clk/mediatek/reset.c
@@
-57,7
+57,7
@@
static int mtk_reset(struct reset_controller_dev *rcdev,
return mtk_reset_deassert(rcdev, id);
}
-static struct reset_control_ops mtk_reset_ops = {
+static
const
struct reset_control_ops mtk_reset_ops = {
.assert = mtk_reset_assert,
.deassert = mtk_reset_deassert,
.reset = mtk_reset,