diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-10-29 17:13:20 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-11-06 21:42:07 -0500 |
commit | afeb12b7478fee31888e7c34804bee2f658e7765 (patch) | |
tree | a0b6d48e8d0a0340a5edc6643f8640dc1ad67425 /drivers/misc | |
parent | 2d59f6a73e1cb4415cdd5a0083b1196cceffa275 (diff) |
fujitsu-laptop: fix section mismatch warning
Could fix a bug in a hotplug add scenario.
WARNING: drivers/misc/fujitsu-laptop.o(.text+0xbde): Section mismatch in reference from the function acpi_fujitsu_add() to the variable .init.data:fujitsu_dmi_table
The function acpi_fujitsu_add() references
the variable __initdata fujitsu_dmi_table.
This is often because acpi_fujitsu_add lacks a __initdata
annotation or the annotation of fujitsu_dmi_table is wrong.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/fujitsu-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c index d2cf0bfe3163..9124fcdc4d09 100644 --- a/drivers/misc/fujitsu-laptop.c +++ b/drivers/misc/fujitsu-laptop.c | |||
@@ -473,7 +473,7 @@ static int dmi_check_cb_p8010(const struct dmi_system_id *id) | |||
473 | return 0; | 473 | return 0; |
474 | } | 474 | } |
475 | 475 | ||
476 | static struct dmi_system_id __initdata fujitsu_dmi_table[] = { | 476 | static struct dmi_system_id fujitsu_dmi_table[] = { |
477 | { | 477 | { |
478 | .ident = "Fujitsu Siemens S6410", | 478 | .ident = "Fujitsu Siemens S6410", |
479 | .matches = { | 479 | .matches = { |