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

reset: sti: Make reset_control_ops const

The syscfg_reset_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

+1 -1
+1 -1
drivers/reset/sti/reset-syscfg.c
··· 134 134 return rst->active_low ? !ret_val : !!ret_val; 135 135 } 136 136 137 - static struct reset_control_ops syscfg_reset_ops = { 137 + static const struct reset_control_ops syscfg_reset_ops = { 138 138 .reset = syscfg_reset_dev, 139 139 .assert = syscfg_reset_assert, 140 140 .deassert = syscfg_reset_deassert,