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:
b7a9007
)
reset: img: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Fri, 5 Feb 2016 15:49:34 +0000
(16:49 +0100)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 8 Feb 2016 16:03:40 +0000
(17:03 +0100)
The pistachio_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: James Hartley <james.hartley@imgtec.com>
drivers/reset/reset-pistachio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/reset/reset-pistachio.c
b/drivers/reset/reset-pistachio.c
index b31cdb0570fc26dd7661a7bcdf627cee82f851e5..72a97a15a4c8a5e77c88526217ac9d9341c0d32f 100644
(file)
--- a/
drivers/reset/reset-pistachio.c
+++ b/
drivers/reset/reset-pistachio.c
@@
-97,7
+97,7
@@
static int pistachio_reset_deassert(struct reset_controller_dev *rcdev,
mask, 0);
}
-static struct reset_control_ops pistachio_reset_ops = {
+static
const
struct reset_control_ops pistachio_reset_ops = {
.assert = pistachio_reset_assert,
.deassert = pistachio_reset_deassert,
};