summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-05 18:49:34 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-08 19:03:40 +0300
commitc0cc2609bc0705d03d2317fba5ef2824d0ec5ee1 (patch)
tree48fb941ec330696918dd7844d6604ddf58f8a5dc /drivers/reset
parentb7a90075656716d9e674bcb73cfac379e66ce409 (diff)
downloadlinux-c0cc2609bc0705d03d2317fba5ef2824d0ec5ee1.tar.xz
reset: img: Make reset_control_ops const
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>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-pistachio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-pistachio.c b/drivers/reset/reset-pistachio.c
index b31cdb0570fc..72a97a15a4c8 100644
--- 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,
};