diff mbox

ACPI/PNP: avoid section mismatch warning

Message ID 4CFE5B5D0200007800026730@vpn.id2.novell.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jan Beulich Dec. 7, 2010, 3:05 p.m. UTC
None
diff mbox

Patch

--- linux-2.6.37-rc5/drivers/pnp/pnpacpi/core.c
+++ 2.6.37-rc5-pnpacpi-sections/drivers/pnp/pnpacpi/core.c
@@ -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;