diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-01-17 15:14:32 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-02-08 17:03:48 +0100 |
commit | 01501d57302a39b46a308b6499a7095f9096a104 (patch) | |
tree | 88262bb230ee7bd38ccaf5ac386d0d30daa75fd1 /drivers/reset | |
parent | reset: img: Make reset_control_ops const (diff) | |
download | linux-01501d57302a39b46a308b6499a7095f9096a104.tar.xz linux-01501d57302a39b46a308b6499a7095f9096a104.zip |
reset: sunxi: Make reset_control_ops const
The sunxi_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/reset-sunxi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index 8d41a18da17f..677f86555212 100644 --- a/drivers/reset/reset-sunxi.c +++ b/drivers/reset/reset-sunxi.c @@ -70,7 +70,7 @@ static int sunxi_reset_deassert(struct reset_controller_dev *rcdev, return 0; } -static struct reset_control_ops sunxi_reset_ops = { +static const struct reset_control_ops sunxi_reset_ops = { .assert = sunxi_reset_assert, .deassert = sunxi_reset_deassert, }; |