aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acnamesp.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-05-20 22:27:51 -0400
committerLen Brown <len.brown@intel.com>2009-05-27 00:35:50 -0400
commit8c725bf93706db976e9de495579ca625d493e809 (patch)
tree2299fdabb28ddc5cb81085dcfd13afaffc86febc /drivers/acpi/acpica/acnamesp.h
parent474caffdc1ab35e9bcb1f88768442e3a4079a10d (diff)
ACPICA: Simplify and optimize NsGetNextNode function
Reduced parameter count and reduced code for this frequently used function. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acnamesp.h')
-rw-r--r--drivers/acpi/acpica/acnamesp.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/acnamesp.h b/drivers/acpi/acpica/acnamesp.h
index 46cb5b46d280..94cdc2b8cb93 100644
--- a/drivers/acpi/acpica/acnamesp.h
+++ b/drivers/acpi/acpica/acnamesp.h
@@ -99,10 +99,19 @@ acpi_ns_walk_namespace(acpi_object_type type,
99 acpi_walk_callback user_function, 99 acpi_walk_callback user_function,
100 void *context, void **return_value); 100 void *context, void **return_value);
101 101
102struct acpi_namespace_node *acpi_ns_get_next_node(acpi_object_type type, struct acpi_namespace_node 102struct acpi_namespace_node *acpi_ns_get_next_node(struct acpi_namespace_node
103 *parent, struct acpi_namespace_node 103 *parent,
104 struct acpi_namespace_node
104 *child); 105 *child);
105 106
107struct acpi_namespace_node *acpi_ns_get_next_node_typed(acpi_object_type type,
108 struct
109 acpi_namespace_node
110 *parent,
111 struct
112 acpi_namespace_node
113 *child);
114
106/* 115/*
107 * nsparse - table parsing 116 * nsparse - table parsing
108 */ 117 */