ACPI: call acpi_ec_init() explicitly rather than as initcall

This patch makes acpi_init() call acpi_ec_init() directly.
Previously, both were subsys_initcalls.  acpi_ec_init()
must happen after acpi_init(), and it's better to call it
explicitly rather than rely on link ordering.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
CC: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
此提交包含在:
Bjorn Helgaas
2009-03-24 16:49:48 -06:00
提交者 Len Brown
父節點 e747f27495
當前提交 a5f820feb5
共有 3 個檔案被更改,包括 3 行新增6 行删除

查看文件

@@ -880,6 +880,7 @@ static int __init acpi_init(void)
dmi_check_system(power_nocheck_dmi_table);
acpi_scan_init();
acpi_ec_init();
return result;
}