summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-06-13 06:52:32 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-07-19 10:24:00 +0200
commit01da10e11f7b5a3944df5a77fefb1c2021a63092 (patch)
treedc861cb620c97f643e28b46c7d00c2fe17e2d1ba /drivers/reset
parentLinux v4.13-rc1 (diff)
downloadlinux-01da10e11f7b5a3944df5a77fefb1c2021a63092.tar.xz
linux-01da10e11f7b5a3944df5a77fefb1c2021a63092.zip
reset: zx2967: constify zx2967_reset_ops.
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>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-zx2967.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-zx2967.c b/drivers/reset/reset-zx2967.c
index 4dabb9ec4841..4f319f7753d4 100644
--- a/drivers/reset/reset-zx2967.c
+++ b/drivers/reset/reset-zx2967.c
@@ -55,7 +55,7 @@ static int zx2967_reset_deassert(struct reset_controller_dev *rcdev,
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,
};