diff options
Diffstat (limited to 'include/acpi/acnamesp.h')
-rw-r--r-- | include/acpi/acnamesp.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/acpi/acnamesp.h b/include/acpi/acnamesp.h index 713b30903fe5..9ed70a050580 100644 --- a/include/acpi/acnamesp.h +++ b/include/acpi/acnamesp.h | |||
@@ -86,8 +86,7 @@ acpi_status acpi_ns_initialize_devices(void); | |||
86 | acpi_status acpi_ns_load_namespace(void); | 86 | acpi_status acpi_ns_load_namespace(void); |
87 | 87 | ||
88 | acpi_status | 88 | acpi_status |
89 | acpi_ns_load_table(acpi_native_uint table_index, | 89 | acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node); |
90 | struct acpi_namespace_node *node); | ||
91 | 90 | ||
92 | /* | 91 | /* |
93 | * nswalk - walk the namespace | 92 | * nswalk - walk the namespace |
@@ -108,12 +107,11 @@ struct acpi_namespace_node *acpi_ns_get_next_node(acpi_object_type type, struct | |||
108 | * nsparse - table parsing | 107 | * nsparse - table parsing |
109 | */ | 108 | */ |
110 | acpi_status | 109 | acpi_status |
111 | acpi_ns_parse_table(acpi_native_uint table_index, | 110 | acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node); |
112 | struct acpi_namespace_node *start_node); | ||
113 | 111 | ||
114 | acpi_status | 112 | acpi_status |
115 | acpi_ns_one_complete_parse(acpi_native_uint pass_number, | 113 | acpi_ns_one_complete_parse(u32 pass_number, |
116 | acpi_native_uint table_index, | 114 | u32 table_index, |
117 | struct acpi_namespace_node *start_node); | 115 | struct acpi_namespace_node *start_node); |
118 | 116 | ||
119 | /* | 117 | /* |
@@ -201,7 +199,7 @@ acpi_ns_pattern_match(struct acpi_namespace_node *obj_node, char *search_for); | |||
201 | 199 | ||
202 | acpi_status | 200 | acpi_status |
203 | acpi_ns_get_node(struct acpi_namespace_node *prefix_node, | 201 | acpi_ns_get_node(struct acpi_namespace_node *prefix_node, |
204 | char *external_pathname, | 202 | const char *external_pathname, |
205 | u32 flags, struct acpi_namespace_node **out_node); | 203 | u32 flags, struct acpi_namespace_node **out_node); |
206 | 204 | ||
207 | acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node); | 205 | acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node); |
@@ -265,28 +263,30 @@ acpi_object_type acpi_ns_get_type(struct acpi_namespace_node *node); | |||
265 | u32 acpi_ns_local(acpi_object_type type); | 263 | u32 acpi_ns_local(acpi_object_type type); |
266 | 264 | ||
267 | void | 265 | void |
268 | acpi_ns_report_error(char *module_name, | 266 | acpi_ns_report_error(const char *module_name, |
269 | u32 line_number, | 267 | u32 line_number, |
270 | char *internal_name, acpi_status lookup_status); | 268 | const char *internal_name, acpi_status lookup_status); |
271 | 269 | ||
272 | void | 270 | void |
273 | acpi_ns_report_method_error(char *module_name, | 271 | acpi_ns_report_method_error(const char *module_name, |
274 | u32 line_number, | 272 | u32 line_number, |
275 | char *message, | 273 | const char *message, |
276 | struct acpi_namespace_node *node, | 274 | struct acpi_namespace_node *node, |
277 | char *path, acpi_status lookup_status); | 275 | const char *path, acpi_status lookup_status); |
278 | 276 | ||
279 | void acpi_ns_print_node_pathname(struct acpi_namespace_node *node, char *msg); | 277 | void |
278 | acpi_ns_print_node_pathname(struct acpi_namespace_node *node, const char *msg); | ||
280 | 279 | ||
281 | acpi_status acpi_ns_build_internal_name(struct acpi_namestring_info *info); | 280 | acpi_status acpi_ns_build_internal_name(struct acpi_namestring_info *info); |
282 | 281 | ||
283 | void acpi_ns_get_internal_name_length(struct acpi_namestring_info *info); | 282 | void acpi_ns_get_internal_name_length(struct acpi_namestring_info *info); |
284 | 283 | ||
285 | acpi_status acpi_ns_internalize_name(char *dotted_name, char **converted_name); | 284 | acpi_status |
285 | acpi_ns_internalize_name(const char *dotted_name, char **converted_name); | ||
286 | 286 | ||
287 | acpi_status | 287 | acpi_status |
288 | acpi_ns_externalize_name(u32 internal_name_length, | 288 | acpi_ns_externalize_name(u32 internal_name_length, |
289 | char *internal_name, | 289 | const char *internal_name, |
290 | u32 * converted_name_length, char **converted_name); | 290 | u32 * converted_name_length, char **converted_name); |
291 | 291 | ||
292 | struct acpi_namespace_node *acpi_ns_map_handle_to_node(acpi_handle handle); | 292 | struct acpi_namespace_node *acpi_ns_map_handle_to_node(acpi_handle handle); |