diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-01-17 15:15:13 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-02-10 10:53:38 +0100 |
commit | f673ed4d5fdc123b1552525de30741cd8dfde53f (patch) | |
tree | dceed95e26b42edeab8eeb863f2877b85556a8a5 /drivers | |
parent | 356d108f8780b58a6aa966e17d64f332f1917730 (diff) | |
download | linux-f673ed4d5fdc123b1552525de30741cd8dfde53f.tar.gz linux-f673ed4d5fdc123b1552525de30741cd8dfde53f.tar.bz2 linux-f673ed4d5fdc123b1552525de30741cd8dfde53f.zip |
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')
-rw-r--r-- | drivers/reset/sti/reset-syscfg.c | 2 |
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, |