diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-05-12 15:24:50 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2019-10-22 14:55:32 +0300 |
commit | b1418bc852607c6aba4cec4644ba25e004758dfe (patch) | |
tree | e5a69fd576ac9ec92e58b7ad9aa9abb84f07d5c4 /drivers/reset/hisilicon/reset-hi3660.c | |
parent | 96a2f50305d11099d33d70014697da564e9ba6d0 (diff) | |
download | linux-b1418bc852607c6aba4cec4644ba25e004758dfe.tar.xz |
reset: hisilicon: hi3660: Make reset_control_ops const
The hi3660_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/hisilicon/reset-hi3660.c')
-rw-r--r-- | drivers/reset/hisilicon/reset-hi3660.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/hisilicon/reset-hi3660.c b/drivers/reset/hisilicon/reset-hi3660.c index f690b1878071..a7d4445924e5 100644 --- a/drivers/reset/hisilicon/reset-hi3660.c +++ b/drivers/reset/hisilicon/reset-hi3660.c @@ -56,7 +56,7 @@ static int hi3660_reset_dev(struct reset_controller_dev *rcdev, return hi3660_reset_deassert(rcdev, idx); } -static struct reset_control_ops hi3660_reset_ops = { +static const struct reset_control_ops hi3660_reset_ops = { .reset = hi3660_reset_dev, .assert = hi3660_reset_assert, .deassert = hi3660_reset_deassert, |