summaryrefslogtreecommitdiff
path: root/drivers/reset/sti
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-01-17 15:15:13 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-10 10:53:38 +0100
commitf673ed4d5fdc123b1552525de30741cd8dfde53f (patch)
treedceed95e26b42edeab8eeb863f2877b85556a8a5 /drivers/reset/sti
parent356d108f8780b58a6aa966e17d64f332f1917730 (diff)
reset: sti: Make reset_control_ops const
The syscfg_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/sti')
-rw-r--r--drivers/reset/sti/reset-syscfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/sti/reset-syscfg.c b/drivers/reset/sti/reset-syscfg.c
index 1600cc7557f5..9bd57a5eee72 100644
--- a/drivers/reset/sti/reset-syscfg.c
+++ b/drivers/reset/sti/reset-syscfg.c
@@ -134,7 +134,7 @@ static int syscfg_reset_status(struct reset_controller_dev *rcdev,
return rst->active_low ? !ret_val : !!ret_val;
}
-static struct reset_control_ops syscfg_reset_ops = {
+static const struct reset_control_ops syscfg_reset_ops = {
.reset = syscfg_reset_dev,
.assert = syscfg_reset_assert,
.deassert = syscfg_reset_deassert,