From: Arvind Yadav <arvind.yadav.cs@gmail.com>
To: gregkh@linuxfoundation.org, tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] base: topology: constify topology_attr_group.
Date: Thu, 22 Jun 2017 17:24:56 +0530 [thread overview]
Message-ID: <beb956b3d215f16841f4a07b1fc6c59cd80f7d8a.1498132427.git.arvind.yadav.cs@gmail.com> (raw)
File size before:
text data bss dec hex filename
594 328 0 922 39a drivers/base/topology.o
File size After adding 'const':
text data bss dec hex filename
634 264 0 898 382 drivers/base/topology.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
---
drivers/base/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/topology.c b/drivers/base/topology.c
index d6ec1c5..d936fcf 100644
--- a/drivers/base/topology.c
+++ b/drivers/base/topology.c
@@ -105,7 +105,7 @@
NULL
};
-static struct attribute_group topology_attr_group = {
+static const struct attribute_group topology_attr_group = {
.attrs = default_attrs,
.name = "topology"
};
--
1.9.1
reply other threads:[~2017-06-22 11:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=beb956b3d215f16841f4a07b1fc6c59cd80f7d8a.1498132427.git.arvind.yadav.cs@gmail.com \
--to=arvind.yadav.cs@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.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;
as well as URLs for NNTP newsgroup(s).