ACPI: invoke acpi_sleep_init() earlier
authorAlexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Sat, 10 Feb 2007 06:32:16 +0000 (01:32 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 10 Feb 2007 06:32:16 +0000 (01:32 -0500)
commitaafbcd165a2a02e6dff173f66772b3148229ace8
tree57b808dad805d7708721e3c0ebddb718a14a3328
parented41dab90eb40ac4911e60406bc653661f0e4ce1
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>
drivers/acpi/bus.c
drivers/acpi/sleep/main.c
include/acpi/acpi_drivers.h