summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2010-12-07 16:05:49 +0100
committerLen Brown <len.brown@intel.com>2010-12-11 08:01:47 +0100
commit66c3ec4f1f70ee87833363166b594855631d7ba6 (patch)
tree414cf7d60ea97ff43596d76e64d4b923e738b7ac /drivers/pnp
parentACPI thermal: remove two unused functions (diff)
downloadlinux-66c3ec4f1f70ee87833363166b594855631d7ba6.tar.xz
linux-66c3ec4f1f70ee87833363166b594855631d7ba6.zip
ACPI/PNP: avoid section mismatch warning
Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp')
-rw-r--r--drivers/pnp/pnpacpi/core.c2
1 files changed, 1 insertions, 1 deletions
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;