Skip to content

Commit

Permalink
platform/chrome: chromeos_laptop - fix incorrect placement of __initd…
Browse files Browse the repository at this point in the history
…ata 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>
  • Loading branch information
Benson Leung authored and Olof Johansson committed Nov 25, 2013
1 parent 9ad3692 commit cdddd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/chrome/chromeos_laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ static struct chromeos_laptop cr48 = {
.callback = chromeos_laptop_dmi_matched, \
.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",
.matches = {
Expand Down

0 comments on commit cdddd23

Please sign in to comment.