Skip to contentSkip to conversation

ACPI/PNP: avoid section mismatch warning

PATCH Applied Jan Beulich 2 participants 2 messages Dec 7, 2010 – Dec 11, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI/PNP: avoid section mismatch warning

---
 drivers/pnp/pnpacpi/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pnp/pnpacpi/core.c +1 -1
@@ -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;
 
reviewer Applied
#1 lore raw

applied

thanks,
Len Brown, Intel Open Source Technology Center