Browse Source

platform/chrome: chromeos_laptop - fix incorrect placement of __initdata tag

__initdata tag should be placed between the variable name and equal
sign for the variable to be placed in the intended .init.data section.

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Benson Leung 11 years ago
parent
commit
cdddd23fa2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/platform/chrome/chromeos_laptop.c

+ 1 - 1
drivers/platform/chrome/chromeos_laptop.c

@@ -406,7 +406,7 @@ static struct chromeos_laptop cr48 = {
 	.callback = chromeos_laptop_dmi_matched, \
 	.callback = chromeos_laptop_dmi_matched, \
 	.driver_data = (void *)&board_
 	.driver_data = (void *)&board_
 
 
-static struct dmi_system_id __initdata chromeos_laptop_dmi_table[] = {
+static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
 	{
 	{
 		.ident = "Samsung Series 5 550",
 		.ident = "Samsung Series 5 550",
 		.matches = {
 		.matches = {