diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2021-01-14 15:54:34 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2021-05-10 10:40:03 +0300 |
commit | e5c73bdb136c6f192eb68c38f0b7843afb53b7dd (patch) | |
tree | b512c7b6bd80744d2ef9de4e8645b229ccd4d331 /drivers/reset | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) | |
download | linux-e5c73bdb136c6f192eb68c38f0b7843afb53b7dd.tar.xz |
reset: bcm6345: Make reset_control_ops const
The bcm6345_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/reset-bcm6345.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c index 737e4e81f6b7..ac6c7ad1deda 100644 --- a/drivers/reset/reset-bcm6345.c +++ b/drivers/reset/reset-bcm6345.c @@ -86,7 +86,7 @@ static int bcm6345_reset_status(struct reset_controller_dev *rcdev, return !(__raw_readl(bcm6345_reset->base) & BIT(id)); } -static struct reset_control_ops bcm6345_reset_ops = { +static const struct reset_control_ops bcm6345_reset_ops = { .assert = bcm6345_reset_assert, .deassert = bcm6345_reset_deassert, .reset = bcm6345_reset_reset, |