OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ca5aa
)
reset: berlin: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Sun, 17 Jan 2016 14:12:48 +0000
(15:12 +0100)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 8 Feb 2016 15:11:25 +0000
(16:11 +0100)
The berlin_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
drivers/reset/reset-berlin.c
patch
|
blob
|
history
diff --git
a/drivers/reset/reset-berlin.c
b/drivers/reset/reset-berlin.c
index
ac017df
..
369f391
100644
(file)
--- a/
drivers/reset/reset-berlin.c
+++ b/
drivers/reset/reset-berlin.c
@@
-46,7
+46,7
@@
static int berlin_reset_reset(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops berlin_reset_ops = {
+static
const
struct reset_control_ops berlin_reset_ops = {
.reset = berlin_reset_reset,
};