Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/reset/reset-bcm6345.c
··· 86 86 return !(__raw_readl(bcm6345_reset->base) & BIT(id)); 87 87 } 88 88 89 - static struct reset_control_ops bcm6345_reset_ops = { 89 + static const struct reset_control_ops bcm6345_reset_ops = { 90 90 .assert = bcm6345_reset_assert, 91 91 .deassert = bcm6345_reset_deassert, 92 92 .reset = bcm6345_reset_reset,