summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent387eb3f3d574ebf43b3afe83da59a99481866b78 (diff)
downloadop-kernel-dev-356d108f8780b58a6aa966e17d64f332f1917730.zip
op-kernel-dev-356d108f8780b58a6aa966e17d64f332f1917730.tar.gz
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')
-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 c6b3cd8..a7e87bc 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