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:
1a55cad
)
reset: ath79: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Sun, 17 Jan 2016 14:12:23 +0000
(15:12 +0100)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Wed, 10 Feb 2016 09:53:34 +0000
(10:53 +0100)
The ath79_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Alban Bedel <albeu@free.fr>
drivers/reset/reset-ath79.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/reset/reset-ath79.c
b/drivers/reset/reset-ath79.c
index 692fc890e94ba6865328b36ba16feefa95c56096..ccb940a8d9fb4f287d8303c17efbecc218c6f91c 100644
(file)
--- a/
drivers/reset/reset-ath79.c
+++ b/
drivers/reset/reset-ath79.c
@@
-70,7
+70,7
@@
static int ath79_reset_status(struct reset_controller_dev *rcdev,
return !!(val & BIT(id));
}
-static struct reset_control_ops ath79_reset_ops = {
+static
const
struct reset_control_ops ath79_reset_ops = {
.assert = ath79_reset_assert,
.deassert = ath79_reset_deassert,
.status = ath79_reset_status,