linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group
@ 2017-06-23  6:31 Arvind Yadav
  2017-06-27 17:06 ` Kershner, David A
  0 siblings, 1 reply; 2+ messages in thread
From: Arvind Yadav @ 2017-06-23  6:31 UTC (permalink / raw)
  To: gregkh, Timothy.Sell, sameer.wadgaonkar, jon.frisch
  Cc: sparmaintainer, devel, linux-kernel

File size before:
   text	   data	    bss	    dec	    hex	filename
  11058	    816	     24	  11898	   2e7a	drivers/staging/unisys/visorbus/visorchipset.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
  11122	    752	     24	  11898	   2e7a	drivers/staging/unisys/visorbus/visorchipset.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
---
 drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 4cfd0fa..5a499fa 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -1151,7 +1151,7 @@ static ssize_t deviceenabled_store(struct device *dev,
 	NULL
 };
 
-static struct attribute_group visorchipset_parahotplug_group = {
+static const struct attribute_group visorchipset_parahotplug_group = {
 	.name = "parahotplug",
 	.attrs = visorchipset_parahotplug_attrs
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-27 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-23  6:31 [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group Arvind Yadav
2017-06-27 17:06 ` Kershner, David A

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).