From: Bjorn Helgaas Date: Tue, 24 Mar 2009 22:49:43 +0000 (-0600) Subject: ACPI: call acpi_scan_init() explicitly rather than as initcall X-Git-Tag: v2.6.30-rc1~199^2~25^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e747f274951507b5a0850155c3d709e26d20de5b;p=pandora-kernel.git ACPI: call acpi_scan_init() explicitly rather than as initcall This patch makes acpi_init() call acpi_scan_init() directly. Previously, both acpi_init() and acpi_scan_init() were subsys_initcalls, and acpi_init() was called first based on the link order from the makefile (bus.o before scan.o). acpi_scan_init() registers the ACPI bus type, creates the root device, and enumerates fixed-feature and namespace devices. All of this must be done after acpi_init(), and it's better to call acpi_scan_init() explicitly rather than rely on the link ordering. Signed-off-by: Bjorn Helgaas Signed-off-by: Len Brown --- Reading git-diff-tree failed