* [PATCH] reset: zx2967: constify zx2967_reset_ops.
@ 2017-06-13 4:52 Arvind Yadav
2017-06-19 12:15 ` Philipp Zabel
0 siblings, 1 reply; 2+ messages in thread
From: Arvind Yadav @ 2017-06-13 4:52 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
drivers/reset/reset-zx2967.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/reset/reset-zx2967.c b/drivers/reset/reset-zx2967.c
index 4dabb9e..4f319f7 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,
};
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] reset: zx2967: constify zx2967_reset_ops.
2017-06-13 4:52 [PATCH] reset: zx2967: constify zx2967_reset_ops Arvind Yadav
@ 2017-06-19 12:15 ` Philipp Zabel
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Zabel @ 2017-06-19 12:15 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2017-06-13 at 10:22 +0530, Arvind Yadav wrote:
> 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>
Applied to reset/next, thank you.
regards
Philipp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-19 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 4:52 [PATCH] reset: zx2967: constify zx2967_reset_ops Arvind Yadav
2017-06-19 12:15 ` Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).