diff options
author | 2017-06-23 14:05:56 +0530 | |
---|---|---|
committer | 2017-06-28 09:01:37 -0700 | |
commit | 36a1f2c607fe3f196bd15a0f4cd3d727b2c9c399 (patch) | |
tree | 18daee6f7e03d0403e9a817a60e0dda493933e92 /drivers/platform/x86/toshiba_haps.c | |
parent | platform/x86: dell-wmi-led: Adjust instance of wmi_evaluate_method calls to 0 (diff) | |
download | wireguard-linux-36a1f2c607fe3f196bd15a0f4cd3d727b2c9c399.tar.xz wireguard-linux-36a1f2c607fe3f196bd15a0f4cd3d727b2c9c399.zip |
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>
Diffstat (limited to 'drivers/platform/x86/toshiba_haps.c')
-rw-r--r-- | drivers/platform/x86/toshiba_haps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c index b3dec521e2b6..fb2736602558 100644 --- a/drivers/platform/x86/toshiba_haps.c +++ b/drivers/platform/x86/toshiba_haps.c @@ -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, }; |