summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-10-21 16:08:13 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-10-22 14:39:01 +0200
commitc1b065b4f20900ae7075f4d0dbf4c9b089cc1fbe (patch)
treeac3a38d8c0d70667976b7158ef55cf32d344107b /drivers/reset
parentb1418bc852607c6aba4cec4644ba25e004758dfe (diff)
downloadlinux-c1b065b4f20900ae7075f4d0dbf4c9b089cc1fbe.tar.gz
linux-c1b065b4f20900ae7075f4d0dbf4c9b089cc1fbe.tar.bz2
linux-c1b065b4f20900ae7075f4d0dbf4c9b089cc1fbe.zip
reset: zynqmp: Make reset_control_ops const
The zynqmp_reset_ops structure is never modified. Make it const. Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-zynqmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-zynqmp.c b/drivers/reset/reset-zynqmp.c
index 99e75d92dada..0144075b11a6 100644
--- a/drivers/reset/reset-zynqmp.c
+++ b/drivers/reset/reset-zynqmp.c
@@ -64,7 +64,7 @@ static int zynqmp_reset_reset(struct reset_controller_dev *rcdev,
PM_RESET_ACTION_PULSE);
}
-static struct reset_control_ops zynqmp_reset_ops = {
+static const struct reset_control_ops zynqmp_reset_ops = {
.reset = zynqmp_reset_reset,
.assert = zynqmp_reset_assert,
.deassert = zynqmp_reset_deassert,