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 2d73dfc..57313f4 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;