summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nsdumpdv.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2009-11-13 05:06:08 +0300
committerLen Brown <len.brown@intel.com>2009-11-25 05:31:10 +0300
commit2263576cfc6e8f6ab038126c3254404b9fcb1c33 (patch)
tree1c1bd06cc5d89978a23a19d549764d3dc8c7c6c4 /drivers/acpi/acpica/nsdumpdv.c
parent7d5d05d0704127c9acd24090c14731c111bd0af1 (diff)
downloadlinux-2263576cfc6e8f6ab038126c3254404b9fcb1c33.tar.xz
ACPICA: Add post-order callback to acpi_walk_namespace
The existing interface only has a pre-order callback. This change adds an additional parameter for a post-order callback which will be more useful for bus scans. ACPICA BZ 779. Also update the external calls to acpi_walk_namespace. http://www.acpica.org/bugzilla/show_bug.cgi?id=779 Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nsdumpdv.c')
-rw-r--r--drivers/acpi/acpica/nsdumpdv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsdumpdv.c b/drivers/acpi/acpica/nsdumpdv.c
index 0fe87f1aef16..36be7f0e97ec 100644
--- a/drivers/acpi/acpica/nsdumpdv.c
+++ b/drivers/acpi/acpica/nsdumpdv.c
@@ -131,7 +131,8 @@ void acpi_ns_dump_root_devices(void)
status = acpi_ns_walk_namespace(ACPI_TYPE_DEVICE, sys_bus_handle,
ACPI_UINT32_MAX, ACPI_NS_WALK_NO_UNLOCK,
- acpi_ns_dump_one_device, NULL, NULL);
+ acpi_ns_dump_one_device, NULL, NULL,
+ NULL);
}
#endif