diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com> | 2007-02-10 01:32:16 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-10 01:32:16 -0500 |
commit | aafbcd165a2a02e6dff173f66772b3148229ace8 (patch) | |
tree | 57b808dad805d7708721e3c0ebddb718a14a3328 /drivers/acpi/sleep/main.c | |
parent | ed41dab90eb40ac4911e60406bc653661f0e4ce1 (diff) |
ACPI: invoke acpi_sleep_init() earlier
late_initcall() is too late for acpi_sleep_init().
Call it directly from acpi_init code.
http://bugzilla.kernel.org/show_bug.cgi?id=7887
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Signed-off-by: Vladimir Lebedev <vladimir.p.lebedev@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep/main.c')
-rw-r--r-- | drivers/acpi/sleep/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c index 62ce87d71651..37a0930fc0a6 100644 --- a/drivers/acpi/sleep/main.c +++ b/drivers/acpi/sleep/main.c | |||
@@ -200,7 +200,7 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { | |||
200 | {}, | 200 | {}, |
201 | }; | 201 | }; |
202 | 202 | ||
203 | static int __init acpi_sleep_init(void) | 203 | int __init acpi_sleep_init(void) |
204 | { | 204 | { |
205 | int i = 0; | 205 | int i = 0; |
206 | 206 | ||
@@ -229,4 +229,3 @@ static int __init acpi_sleep_init(void) | |||
229 | return 0; | 229 | return 0; |
230 | } | 230 | } |
231 | 231 | ||
232 | late_initcall(acpi_sleep_init); | ||