summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-08-08 11:30:05 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-13 15:14:16 +0400
commit4ef17507834d19ba4fc24c4c1c61e8f68df356a6 (patch)
tree979deb29c661ebabecd34d3f3fecabc9ed3c9cba /include/acpi
parenta50abf4842dd7d603a2ad6dcc7f1467fd2a66f03 (diff)
downloadlinux-4ef17507834d19ba4fc24c4c1c61e8f68df356a6.tar.xz
ACPICA: Update names for walk_namespace callbacks to clarify usage.
Use of "preorder" and "postorder" was incorrect. The callbacks are simply invoked during tree ascent and descent during the depth-first walk. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpixf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 0dd03f226a68..e53f16a07237 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -212,8 +212,8 @@ acpi_status
acpi_walk_namespace(acpi_object_type type,
acpi_handle start_object,
u32 max_depth,
- acpi_walk_callback pre_order_visit,
- acpi_walk_callback post_order_visit,
+ acpi_walk_callback descending_callback,
+ acpi_walk_callback ascending_callback,
void *context, void **return_value);
acpi_status