summaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-berlin.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-01-17 15:12:48 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-08 16:11:25 +0100
commitb7a90075656716d9e674bcb73cfac379e66ce409 (patch)
treecf9230ce1395d260aa8cc198f139a131ccfee414 /drivers/reset/reset-berlin.c
parent27ca5aaa3676a135d3767e8ffe1ba1f5ee9ec0bb (diff)
downloadlinux-b7a90075656716d9e674bcb73cfac379e66ce409.tar.bz2
reset: berlin: Make reset_control_ops const
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>
Diffstat (limited to 'drivers/reset/reset-berlin.c')
-rw-r--r--drivers/reset/reset-berlin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-berlin.c b/drivers/reset/reset-berlin.c
index ac017df8858c..369f3917fd8e 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,
};