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

reset: berlin: Make reset_control_ops const

The berlin_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>

+1 -1
+1 -1
drivers/reset/reset-berlin.c
··· 46 46 return 0; 47 47 } 48 48 49 - static struct reset_control_ops berlin_reset_ops = { 49 + static const struct reset_control_ops berlin_reset_ops = { 50 50 .reset = berlin_reset_reset, 51 51 }; 52 52