File size before:
text data bss dec hex filename
794 232 0 1026 402 drivers/reset/reset-zx2967.o
File size After adding 'const':
text data bss dec hex filename
842 184 0 1026 402 drivers/reset/reset-zx2967.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
return zx2967_reset_act(rcdev, id, false);
}
-static struct reset_control_ops zx2967_reset_ops = {
+static const struct reset_control_ops zx2967_reset_ops = {
.assert = zx2967_reset_assert,
.deassert = zx2967_reset_deassert,
};