diff options
Diffstat (limited to 'drivers/acpi/dispatcher/dsobject.c')
-rw-r--r-- | drivers/acpi/dispatcher/dsobject.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/acpi/dispatcher/dsobject.c b/drivers/acpi/dispatcher/dsobject.c index 0f2805899210..09af39fff1a3 100644 --- a/drivers/acpi/dispatcher/dsobject.c +++ b/drivers/acpi/dispatcher/dsobject.c | |||
@@ -741,10 +741,12 @@ acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, | |||
741 | obj_desc-> | 741 | obj_desc-> |
742 | reference.offset, | 742 | reference.offset, |
743 | walk_state, | 743 | walk_state, |
744 | ACPI_CAST_INDIRECT_PTR | ||
744 | (struct | 745 | (struct |
745 | acpi_namespace_node | 746 | acpi_namespace_node, |
746 | **)&obj_desc-> | 747 | &obj_desc-> |
747 | reference.object); | 748 | reference. |
749 | object)); | ||
748 | #endif | 750 | #endif |
749 | break; | 751 | break; |
750 | 752 | ||
@@ -760,10 +762,12 @@ acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, | |||
760 | obj_desc-> | 762 | obj_desc-> |
761 | reference.offset, | 763 | reference.offset, |
762 | walk_state, | 764 | walk_state, |
765 | ACPI_CAST_INDIRECT_PTR | ||
763 | (struct | 766 | (struct |
764 | acpi_namespace_node | 767 | acpi_namespace_node, |
765 | **)&obj_desc-> | 768 | &obj_desc-> |
766 | reference.object); | 769 | reference. |
770 | object)); | ||
767 | #endif | 771 | #endif |
768 | break; | 772 | break; |
769 | 773 | ||