diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-03-24 18:50:03 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-27 12:50:29 -0400 |
commit | 84f810c33f695e020776ce66c903e0b41872f1b2 (patch) | |
tree | 31d0bf813d353e3a8d97638f8694d5edd86f1419 /drivers/acpi/bus.c | |
parent | 141a0af3cab7de690816b17aad1682050219f774 (diff) |
ACPI: call acpi_debug_init() explicitly rather than as initcall
This patch makes acpi_init() call acpi_debug_init() directly.
Previously, both were subsys_initcalls. acpi_debug_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>
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 c13307279f7..f32cfd64c99 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -883,6 +883,7 @@ static int __init acpi_init(void) | |||
883 | acpi_ec_init(); | 883 | acpi_ec_init(); |
884 | acpi_power_init(); | 884 | acpi_power_init(); |
885 | acpi_system_init(); | 885 | acpi_system_init(); |
886 | acpi_debug_init(); | ||
886 | return result; | 887 | return result; |
887 | } | 888 | } |
888 | 889 | ||