ACPI: enumerate namespace before adding functional fixed hardware devices
commitadc08e2035f1859d4b129f42b2c2305ef090d226
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:29:45 +0000 (21 19:29 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:24:29 +0000 (25 14:24 -0400)
tree7e7ec54b01636528f105f18dc1d9336811c92afc
parent8e029bf0a611ea3995bd1fae0285cbaf6eed7f16
ACPI: enumerate namespace before adding functional fixed hardware devices

This patch changes the order so we enumerate in the "root, namespace,
functional fixed" order instead of the "root, functional fixed, namespace"
order.  When I change acpi_bus_scan() to use acpi_walk_namespace(), it
will use the former order, so this patch isolates the order change for
bisectability.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c