From: Arvind Yadav <arvind.yadav.cs@gmail.com>
To: jun.nie@linaro.org, baoyou.xie@linaro.org, p.zabel@pengutronix.de
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] reset: zx2967: constify zx2967_reset_ops.
Date: Tue, 13 Jun 2017 10:22:32 +0530 [thread overview]
Message-ID: <c082e132c282634a7185ea99c50c8d671965534a.1497329415.git.arvind.yadav.cs@gmail.com> (raw)
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
next reply other threads:[~2017-06-13 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 4:52 Arvind Yadav [this message]
2017-06-19 12:15 ` Philipp Zabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c082e132c282634a7185ea99c50c8d671965534a.1497329415.git.arvind.yadav.cs@gmail.com \
--to=arvind.yadav.cs@gmail.com \
--cc=baoyou.xie@linaro.org \
--cc=jun.nie@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®