From patchwork Mon Nov 1 07:21:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakib Mullick X-Patchwork-Id: 293962 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 oA17LM37000868 for ; Mon, 1 Nov 2010 07:21:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752972Ab0KAHVP (ORCPT ); Mon, 1 Nov 2010 03:21:15 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:53848 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752238Ab0KAHVP (ORCPT ); Mon, 1 Nov 2010 03:21:15 -0400 Received: by wyf28 with SMTP id 28so5175262wyf.19 for ; Mon, 01 Nov 2010 00:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=Z1JiQMAtAn4aFGFNqpUm9FMENLJHO4tI7bTox4tRnmk=; b=RgCkewkrYMNw7DHdhin0R7WdgeS038Q0w0Ci/dGYPFKcv5sy4i98Hx5EyAm2ifMM1c tCz2GMQPEYYKMIPWUf8B+rYIZcGzrq1rt7rRqspNqjRz7IPjmWrmGHnbKLEwoWjUFD0A HZsMhvLId99K7XHwNGz4cY1SH9zg0umNf/hwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=nSlXcSWy+njPWfG7Pj4KvWQpDsZbVW3YfQ4VVDJgeZm7ju2XU82A9so5iYyypdkPbm BuueAv6xInzFlycLY1fVdFmZMp+RbsNczcbrZa2210yerIfTzHkqToDaWPCqgY2rZwjq V3IpBLMiYuEnKDkhN9LusXa/5Xj4jUhOth5zY= MIME-Version: 1.0 Received: by 10.216.181.84 with SMTP id k62mr15056689wem.76.1288596073509; Mon, 01 Nov 2010 00:21:13 -0700 (PDT) Received: by 10.216.173.70 with HTTP; Mon, 1 Nov 2010 00:21:13 -0700 (PDT) Date: Mon, 1 Nov 2010 13:21:13 +0600 Message-ID: Subject: [PATCH] acpi: Fix section mismatch warning in osl.c From: Rakib Mullick To: Len Brown Cc: LKML , Tejun Heo , ACPI Devel Maling List 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]); Mon, 01 Nov 2010 07:21:23 +0000 (UTC) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 966fedd..81de639 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -113,8 +113,6 @@ static DEFINE_SPINLOCK(acpi_ioremap_lock); #define OSI_STRING_LENGTH_MAX 64 /* arbitrary */ static char osi_setup_string[OSI_STRING_LENGTH_MAX]; -static void __init acpi_osi_setup_late(void); - /* * The story of _OSI(Linux) * @@ -1530,7 +1528,7 @@ acpi_status __init acpi_os_initialize(void) return AE_OK; } -acpi_status acpi_os_initialize1(void) +acpi_status __init acpi_os_initialize1(void) { kacpid_wq = create_workqueue("kacpid"); kacpi_notify_wq = create_workqueue("kacpi_notify");