diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2009-08-19 10:06:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-10 00:02:31 -0500 |
commit | 4788df4cf44fd14847d37f88daea649f01c01017 (patch) | |
tree | d289169fd12a766334c2bd79d6741f1e1412a2eb /drivers/platform | |
parent | ada3248a5d38654b33b0ae2eabe1d7e3d9a9ffce (diff) |
dell-laptop: add __init to init functions
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | 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 a4ce64244f6..3780994dc8f 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[] = { | |||
82 | { } | 82 | { } |
83 | }; | 83 | }; |
84 | 84 | ||
85 | static void parse_da_table(const struct dmi_header *dm) | 85 | static void __init parse_da_table(const struct dmi_header *dm) |
86 | { | 86 | { |
87 | /* Final token is a terminator, so we don't want to copy it */ | 87 | /* Final token is a terminator, so we don't want to copy it */ |
88 | int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; | 88 | 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) | |||
111 | da_num_tokens += tokens; | 111 | da_num_tokens += tokens; |
112 | } | 112 | } |
113 | 113 | ||
114 | static void find_tokens(const struct dmi_header *dm, void *dummy) | 114 | static void __init find_tokens(const struct dmi_header *dm, void *dummy) |
115 | { | 115 | { |
116 | switch (dm->type) { | 116 | switch (dm->type) { |
117 | case 0xd4: /* Indexed IO */ | 117 | case 0xd4: /* Indexed IO */ |
@@ -214,7 +214,7 @@ static const struct rfkill_ops dell_rfkill_ops = { | |||
214 | .query = dell_rfkill_query, | 214 | .query = dell_rfkill_query, |
215 | }; | 215 | }; |
216 | 216 | ||
217 | static int dell_setup_rfkill(void) | 217 | static int __init dell_setup_rfkill(void) |
218 | { | 218 | { |
219 | struct calling_interface_buffer buffer; | 219 | struct calling_interface_buffer buffer; |
220 | int status; | 220 | int status; |