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

reset: hi6220: Make reset_control_ops const

The hi6220_reset_ops structure is never modified. Make it const.

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

+1 -1
+1 -1
drivers/reset/hisilicon/hi6220_reset.c
··· 57 57 return 0; 58 58 } 59 59 60 - static struct reset_control_ops hi6220_reset_ops = { 60 + static const struct reset_control_ops hi6220_reset_ops = { 61 61 .assert = hi6220_reset_assert, 62 62 .deassert = hi6220_reset_deassert, 63 63 };