mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
6efb943b86
commit
e5c73bdb13
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ static int bcm6345_reset_status(struct reset_controller_dev *rcdev,
|
||||||
return !(__raw_readl(bcm6345_reset->base) & BIT(id));
|
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,
|
.assert = bcm6345_reset_assert,
|
||||||
.deassert = bcm6345_reset_deassert,
|
.deassert = bcm6345_reset_deassert,
|
||||||
.reset = bcm6345_reset_reset,
|
.reset = bcm6345_reset_reset,
|
||||||
|
|
Loading…
Add table
Reference in a new issue