diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-03-25 01:49:48 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-27 19:50:02 +0300 |
commit | a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e (patch) | |
tree | f8a9546077306e87fd55f470860b4e15f53539c2 /drivers/acpi/bus.c | |
parent | e747f274951507b5a0850155c3d709e26d20de5b (diff) | |
download | linux-a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e.tar.xz |
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>
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r-- | drivers/acpi/bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index cdd11fda5036..9ca683794370 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -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; } |