mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 10:21:00 +00:00
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>
This commit is contained in:
committed by
Len Brown
parent
ed41dab90e
commit
aafbcd165a
@@ -200,7 +200,7 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
|
||||
{},
|
||||
};
|
||||
|
||||
static int __init acpi_sleep_init(void)
|
||||
int __init acpi_sleep_init(void)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
@@ -229,4 +229,3 @@ static int __init acpi_sleep_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
late_initcall(acpi_sleep_init);
|
||||
|
||||
Reference in New Issue
Block a user