]> git.baikalelectronics.ru Git - kernel.git/commit
fujitsu-laptop: fix section mismatch warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 29 Oct 2008 21:13:20 +0000 (14:13 -0700)
committerLen Brown <len.brown@intel.com>
Fri, 7 Nov 2008 02:42:07 +0000 (21:42 -0500)
commit0fe7af81e43d5266bc4bff6c1d3e1c653b337a29
treea0b6d48e8d0a0340a5edc6643f8640dc1ad67425
parent60433c84784a5ed9c75a31bb10425d34cd54eff3
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>
drivers/misc/fujitsu-laptop.c