From: Jan Beulich Date: Tue, 7 Dec 2010 15:05:49 +0000 (+0000) Subject: ACPI/PNP: avoid section mismatch warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66c3ec4f1f70ee87833363166b594855631d7ba6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ACPI/PNP: avoid section mismatch warning Signed-off-by: Jan Beulich Signed-off-by: Len Brown --- diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c index 2d73dfcecdbb..57313f4658bc 100644 --- a/drivers/pnp/pnpacpi/core.c +++ b/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;