ACPI/PNP: avoid section mismatch warning
authorJan Beulich <JBeulich@novell.com>
Tue, 7 Dec 2010 15:05:49 +0000 (15:05 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 11 Dec 2010 07:01:47 +0000 (02:01 -0500)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/core.c

index 2d73dfcecdbb4e2098e3d881a6a091a9e8ca5e62..57313f4658bc55a00a5a7d36fbb86450f8144def 100644 (file)
@@ -180,7 +180,7 @@ struct pnp_protocol pnpacpi_protocol = {
 };
 EXPORT_SYMBOL(pnpacpi_protocol);
 
-static char *pnpacpi_get_id(struct acpi_device *device)
+static char *__init pnpacpi_get_id(struct acpi_device *device)
 {
        struct acpi_hardware_id *id;