From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
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 <alan-jenkins@tuffmail.co.uk>
Subject: [PATCH 4/5] dell-laptop: add __init to init functions
Date: Wed, 19 Aug 2009 15:06:50 +0100 [thread overview]
Message-ID: <1250690811-21203-4-git-send-email-alan-jenkins@tuffmail.co.uk> (raw)
In-Reply-To: <4A8C0623.8030808@tuffmail.co.uk>
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
---
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;
--
1.6.3.2
next prev parent reply other threads:[~2009-08-19 14:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-19 14:03 [PATCH 0/5] dell-laptop improvements Alan Jenkins
2009-08-19 14:06 ` [PATCH 1/5] dell-laptop: fix a use-after-free error on the failure path Alan Jenkins
2009-12-10 5:00 ` Len Brown
2009-08-19 14:06 ` [PATCH 2/5] dell-laptop: fix rfkill memory leak on unload and failure paths Alan Jenkins
2009-12-10 5:01 ` Len Brown
2009-08-19 14:06 ` [PATCH 3/5] dell-laptop: create a platform device as a parent for the rfkill devices etc Alan Jenkins
2009-08-19 14:06 ` Alan Jenkins [this message]
2009-12-10 5:02 ` [PATCH 4/5] dell-laptop: add __init to init functions Len Brown
2009-08-19 14:06 ` [PATCH 5/5] dell-laptop: poll the rfkill hard-block Alan Jenkins
2009-08-19 14:13 ` Matthew Garrett
2009-08-19 14:44 ` [PATCH 6/5] dell-laptop: remove duplicate Kconfig entry under drivers/misc Alan Jenkins
2009-12-10 5:03 ` Len Brown
2009-08-19 14:09 ` [PATCH 0/5] dell-laptop improvements Matthew Garrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1250690811-21203-4-git-send-email-alan-jenkins@tuffmail.co.uk \
--to=alan-jenkins@tuffmail.co.uk \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mjg@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).