summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-01-17 15:14:52 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-10 10:53:37 +0100
commit356d108f8780b58a6aa966e17d64f332f1917730 (patch)
tree9bde785492f130ffa4ffdd4dd10dcd2d11310589 /drivers/reset
parent387eb3f3d574ebf43b3afe83da59a99481866b78 (diff)
downloadtalos-obmc-linux-356d108f8780b58a6aa966e17d64f332f1917730.tar.gz
talos-obmc-linux-356d108f8780b58a6aa966e17d64f332f1917730.zip
reset: zynq: Make reset_control_ops const
The zynq_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-zynq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-zynq.c b/drivers/reset/reset-zynq.c
index c6b3cd8b40ad..a7e87bc45885 100644
--- a/drivers/reset/reset-zynq.c
+++ b/drivers/reset/reset-zynq.c
@@ -86,7 +86,7 @@ static int zynq_reset_status(struct reset_controller_dev *rcdev,
return !!(reg & BIT(offset));
}
-static struct reset_control_ops zynq_reset_ops = {
+static const struct reset_control_ops zynq_reset_ops = {
.assert = zynq_reset_assert,
.deassert = zynq_reset_deassert,
.status = zynq_reset_status,
OpenPOWER on IntegriCloud