From patchwork Tue Dec 7 15:05:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 383402 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB7F67BI014324 for ; Tue, 7 Dec 2010 15:06:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753902Ab0LGPFw (ORCPT ); Tue, 7 Dec 2010 10:05:52 -0500 Received: from vpn.id2.novell.com ([195.33.99.129]:36352 "EHLO vpn.id2.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752423Ab0LGPFv convert rfc822-to-8bit (ORCPT ); Tue, 7 Dec 2010 10:05:51 -0500 Received: from EMEA1-MTA by vpn.id2.novell.com with Novell_GroupWise; Tue, 07 Dec 2010 15:38:51 +0000 Message-Id: <4CFE5B5D0200007800026730@vpn.id2.novell.com> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Tue, 07 Dec 2010 15:05:49 +0000 From: "Jan Beulich" To: "Len Brown" Cc: Subject: [PATCH] ACPI/PNP: avoid section mismatch warning Mime-Version: 1.0 Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 07 Dec 2010 15:06:08 +0000 (UTC) --- 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;