mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
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>
This commit is contained in:
parent
71596f5b0e
commit
36a1f2c607
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user