From patchwork Wed Aug 19 14:06:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Jenkins X-Patchwork-Id: 42696 X-Patchwork-Delegate: lenb@kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7JEChlg030297 for ; Wed, 19 Aug 2009 14:12:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752559AbZHSOMH (ORCPT ); Wed, 19 Aug 2009 10:12:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752564AbZHSOMH (ORCPT ); Wed, 19 Aug 2009 10:12:07 -0400 Received: from fallback-out2.mxes.net ([216.86.168.191]:47015 "EHLO fallback-in2.mxes.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752559AbZHSOMG (ORCPT ); Wed, 19 Aug 2009 10:12:06 -0400 X-Greylist: delayed 300 seconds by postgrey-1.27 at vger.kernel.org; Wed, 19 Aug 2009 10:12:05 EDT Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id A232E2FDBF1; Wed, 19 Aug 2009 10:09:21 -0400 (EDT) Received: from localhost.localdomain (unknown [86.53.68.233]) by smtp.mxes.net (Postfix) with ESMTPA id 22C12509DB; Wed, 19 Aug 2009 10:07:10 -0400 (EDT) From: Alan Jenkins To: mjg@redhat.com Cc: marcel@holtmann.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, Alan Jenkins Subject: [PATCH 4/5] dell-laptop: add __init to init functions Date: Wed, 19 Aug 2009 15:06:50 +0100 Message-Id: <1250690811-21203-4-git-send-email-alan-jenkins@tuffmail.co.uk> X-Mailer: git-send-email 1.6.3.2 In-Reply-To: <4A8C0623.8030808@tuffmail.co.uk> References: <4A8C0623.8030808@tuffmail.co.uk> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Signed-off-by: Alan Jenkins --- drivers/platform/x86/dell-laptop.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index a13a9f7..250c4b1 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -82,7 +82,7 @@ static const struct dmi_system_id __initdata dell_device_table[] = { { } }; -static void parse_da_table(const struct dmi_header *dm) +static void __init parse_da_table(const struct dmi_header *dm) { /* Final token is a terminator, so we don't want to copy it */ int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; @@ -111,7 +111,7 @@ static void parse_da_table(const struct dmi_header *dm) da_num_tokens += tokens; } -static void find_tokens(const struct dmi_header *dm, void *dummy) +static void __init find_tokens(const struct dmi_header *dm, void *dummy) { switch (dm->type) { case 0xd4: /* Indexed IO */ @@ -214,7 +214,7 @@ static const struct rfkill_ops dell_rfkill_ops = { .query = dell_rfkill_query, }; -static int dell_setup_rfkill(void) +static int __init dell_setup_rfkill(void) { struct calling_interface_buffer buffer; int status;