diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-23 11:10:51 +0200 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-07-01 05:13:01 +0200 |
commit | 130bbe6328c9edec37f59e4582cec5e43512b8e6 (patch) | |
tree | 6a13525b7f15b96ddb909103e5fab6ec80ee29a0 /drivers/platform/x86/eeepc-laptop.c | |
parent | platform/x86: toshiba_haps: constify haps_attr_group (diff) | |
download | linux-130bbe6328c9edec37f59e4582cec5e43512b8e6.tar.xz linux-130bbe6328c9edec37f59e4582cec5e43512b8e6.zip |
platform/x86: eeepc-laptop: constify platform_attribute_group
File size before:
text data bss dec hex filename
9934 1136 2 11072 2b40 drivers/platform/x86/eeepc-laptop.o
File size After adding 'const':
text data bss dec hex filename
9998 1072 2 11072 2b40 drivers/platform/x86/eeepc-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/eeepc-laptop.c')
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 2426399e1e04..5a681962899c 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -445,7 +445,7 @@ static struct attribute *platform_attributes[] = { NULL }; -static struct attribute_group platform_attribute_group = { +static const struct attribute_group platform_attribute_group = { .attrs = platform_attributes }; |