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

reset: zynq: Make reset_control_ops const

The zynq_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-zynq.c
··· 86 86 return !!(reg & BIT(offset)); 87 87 } 88 88 89 - static struct reset_control_ops zynq_reset_ops = { 89 + static const struct reset_control_ops zynq_reset_ops = { 90 90 .assert = zynq_reset_assert, 91 91 .deassert = zynq_reset_deassert, 92 92 .status = zynq_reset_status,