提交 130bbe63 编写于 作者: A Arvind Yadav 提交者: Darren Hart (VMware)

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: NArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
上级 36a1f2c6
......@@ -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
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册