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

reset: img: Make reset_control_ops const

The pistachio_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: James Hartley <james.hartley@imgtec.com>

+1 -1
+1 -1
drivers/reset/reset-pistachio.c
··· 97 97 mask, 0); 98 98 } 99 99 100 - static struct reset_control_ops pistachio_reset_ops = { 100 + static const struct reset_control_ops pistachio_reset_ops = { 101 101 .assert = pistachio_reset_assert, 102 102 .deassert = pistachio_reset_deassert, 103 103 };