ACPICA: Restructure includes into public/private
[deliverable/linux.git] / drivers / acpi / executer / exprep.c
index 3a2f8cd4c62a9bffc6d27c25ed2b4bff3c112c0c..8f2baa934e95134ea02e2876af7c623c504b0186 100644 (file)
@@ -43,6 +43,7 @@
  */
 
 #include <acpi/acpi.h>
+#include <acpi/accommon.h>
 #include <acpi/acinterp.h>
 #include <acpi/amlcode.h>
 #include <acpi/acnamesp.h>
@@ -503,11 +504,11 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
                 */
                second_desc = obj_desc->common.next_object;
                second_desc->extra.aml_start =
-                   ((union acpi_parse_object *)(info->data_register_node))->
-                   named.data;
+                   ACPI_CAST_PTR(union acpi_parse_object,
+                                 info->data_register_node)->named.data;
                second_desc->extra.aml_length =
-                   ((union acpi_parse_object *)(info->data_register_node))->
-                   named.length;
+                   ACPI_CAST_PTR(union acpi_parse_object,
+                                 info->data_register_node)->named.length;
 
                break;
 
This page took 0.025204 seconds and 5 git commands to generate.