diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-23 13:36:30 +0300 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-07-01 06:13:01 +0300 |
commit | 79e19ab5421b2d4f30901594aeee8180ee7a99ab (patch) | |
tree | 3072338932a241a18805331540a5ff1f3b90cbbb /drivers/platform/x86/msi-laptop.c | |
parent | 130bbe6328c9edec37f59e4582cec5e43512b8e6 (diff) | |
download | linux-79e19ab5421b2d4f30901594aeee8180ee7a99ab.tar.xz |
platform/x86: msi-laptop: constify msipf*_attribute_group
File size before:
text data bss dec hex filename
5396 5016 85 10497 2901 drivers/platform/x86/msi-laptop.o
File size After adding 'const':
text data bss dec hex filename
5524 4888 85 10497 2901 drivers/platform/x86/msi-laptop.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/msi-laptop.c')
-rw-r--r-- | drivers/platform/x86/msi-laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/msi-laptop.c b/drivers/platform/x86/msi-laptop.c index 9e90827c176a..61b9014d2610 100644 --- a/drivers/platform/x86/msi-laptop.c +++ b/drivers/platform/x86/msi-laptop.c @@ -563,11 +563,11 @@ static struct attribute *msipf_old_attributes[] = { NULL }; -static struct attribute_group msipf_attribute_group = { +static const struct attribute_group msipf_attribute_group = { .attrs = msipf_attributes }; -static struct attribute_group msipf_old_attribute_group = { +static const struct attribute_group msipf_old_attribute_group = { .attrs = msipf_old_attributes }; |