1
0
Fork 0

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: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
zero-colors
Arvind Yadav 2017-06-23 14:05:56 +05:30 committed by Darren Hart (VMware)
parent 71596f5b0e
commit 36a1f2c607
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};