diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-01-17 14:11:59 (GMT) |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-02-10 09:53:35 (GMT) |
commit | 0e18e60e1bded4b3c8c0eb29ac297ff7336ba5c7 (patch) | |
tree | e2a18b72d252b65329ce0265f99a7f0acd8a0740 /drivers/reset/hisilicon | |
parent | d2f79f223f931dfadf98c42a9d426999d5e3397c (diff) | |
download | linux-0e18e60e1bded4b3c8c0eb29ac297ff7336ba5c7.tar.xz |
reset: hi6220: Make reset_control_ops const
The hi6220_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/hisilicon')
-rw-r--r-- | drivers/reset/hisilicon/hi6220_reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c index 744b2e7..8f55fd4 100644 --- a/drivers/reset/hisilicon/hi6220_reset.c +++ b/drivers/reset/hisilicon/hi6220_reset.c @@ -57,7 +57,7 @@ static int hi6220_reset_deassert(struct reset_controller_dev *rc_dev, return 0; } -static struct reset_control_ops hi6220_reset_ops = { +static const struct reset_control_ops hi6220_reset_ops = { .assert = hi6220_reset_assert, .deassert = hi6220_reset_deassert, }; |