From: Philipp Zabel
Date: Sun, 17 Jan 2016 14:12:48 +0000 (+0100)
Subject: reset: berlin: Make reset_control_ops const
X-Git-Tag: v4.14-rc1~3589^2~3^2~8
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7a90075656716d9e674bcb73cfac379e66ce409;p=platform%2Fkernel%2Flinux-rpi.git
reset: berlin: Make reset_control_ops const
The berlin_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
Acked-by: Antoine Tenart
---
diff --git a/drivers/reset/reset-berlin.c b/drivers/reset/reset-berlin.c
index ac017df..369f391 100644
--- 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,
};