Commit 36a1f2c6 authored by Arvind Yadav's avatar Arvind Yadav Committed by Darren Hart (VMware)

platform/x86: toshiba_haps: constify haps_attr_group

File size before:
   text	   data	    bss	    dec	    hex	filename
   1471	    528	      8	   2007	    7d7	drivers/platform/x86/toshiba_haps.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
   1519	    464	      8	   1991	    7c7	drivers/platform/x86/toshiba_haps.o
Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 71596f5b
......@@ -132,7 +132,7 @@ static struct attribute *haps_attributes[] = {
NULL,
};
static struct attribute_group haps_attr_group = {
static const struct attribute_group haps_attr_group = {
.attrs = haps_attributes,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment