ACPI: ACPICA 20060331
[deliverable/linux.git] / drivers / acpi / utilities / utresrc.c
index 4c24e6d5400a12e26d3923ffa58608fadf5c0364..1e680794c6df8e4d251cb79d1ae6f915b09fbcb9 100644 (file)
@@ -258,7 +258,7 @@ static const u8 acpi_gbl_resource_types[] = {
 acpi_status
 acpi_ut_walk_aml_resources(u8 * aml,
                           acpi_size aml_length,
-                          acpi_walk_aml_callback user_function, void *context)
+                          acpi_walk_aml_callback user_function, void **context)
 {
        acpi_status status;
        u8 *end_aml;
@@ -319,7 +319,7 @@ acpi_ut_walk_aml_resources(u8 * aml,
                        /* Return the pointer to the end_tag if requested */
 
                        if (!user_function) {
-                               *(void **)context = aml;
+                               *context = aml;
                        }
 
                        /* Normal exit */
@@ -610,7 +610,7 @@ acpi_ut_get_resource_end_tag(union acpi_operand_object * obj_desc,
 
        status = acpi_ut_walk_aml_resources(obj_desc->buffer.pointer,
                                            obj_desc->buffer.length, NULL,
-                                           end_tag);
+                                           (void **)end_tag);
 
        return_ACPI_STATUS(status);
 }
This page took 0.106651 seconds and 5 git commands to generate.