diff options
Diffstat (limited to 'include/acpi/acnamesp.h')
-rw-r--r-- | include/acpi/acnamesp.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/include/acpi/acnamesp.h b/include/acpi/acnamesp.h index d622c309002e..9ed70a050580 100644 --- a/include/acpi/acnamesp.h +++ b/include/acpi/acnamesp.h | |||
@@ -199,7 +199,7 @@ acpi_ns_pattern_match(struct acpi_namespace_node *obj_node, char *search_for); | |||
199 | 199 | ||
200 | acpi_status | 200 | acpi_status |
201 | acpi_ns_get_node(struct acpi_namespace_node *prefix_node, | 201 | acpi_ns_get_node(struct acpi_namespace_node *prefix_node, |
202 | char *external_pathname, | 202 | const char *external_pathname, |
203 | u32 flags, struct acpi_namespace_node **out_node); | 203 | u32 flags, struct acpi_namespace_node **out_node); |
204 | 204 | ||
205 | 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); |
@@ -263,28 +263,30 @@ acpi_object_type acpi_ns_get_type(struct acpi_namespace_node *node); | |||
263 | u32 acpi_ns_local(acpi_object_type type); | 263 | u32 acpi_ns_local(acpi_object_type type); |
264 | 264 | ||
265 | void | 265 | void |
266 | acpi_ns_report_error(char *module_name, | 266 | acpi_ns_report_error(const char *module_name, |
267 | u32 line_number, | 267 | u32 line_number, |
268 | char *internal_name, acpi_status lookup_status); | 268 | const char *internal_name, acpi_status lookup_status); |
269 | 269 | ||
270 | void | 270 | void |
271 | acpi_ns_report_method_error(char *module_name, | 271 | acpi_ns_report_method_error(const char *module_name, |
272 | u32 line_number, | 272 | u32 line_number, |
273 | char *message, | 273 | const char *message, |
274 | struct acpi_namespace_node *node, | 274 | struct acpi_namespace_node *node, |
275 | char *path, acpi_status lookup_status); | 275 | const char *path, acpi_status lookup_status); |
276 | 276 | ||
277 | 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); | ||
278 | 279 | ||
279 | 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); |
280 | 281 | ||
281 | 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); |
282 | 283 | ||
283 | 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); | ||
284 | 286 | ||
285 | acpi_status | 287 | acpi_status |
286 | acpi_ns_externalize_name(u32 internal_name_length, | 288 | acpi_ns_externalize_name(u32 internal_name_length, |
287 | char *internal_name, | 289 | const char *internal_name, |
288 | u32 * converted_name_length, char **converted_name); | 290 | u32 * converted_name_length, char **converted_name); |
289 | 291 | ||
290 | 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); |