diff options
author | Bob Moore <robert.moore@intel.com> | 2008-09-26 22:40:39 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 23:14:44 -0400 |
commit | 57e664cfd968ec8e4b0bfd80a5e8f903307e598b (patch) | |
tree | 1a4ab73f5a9f3a0e07ba2801494379373a461b66 /drivers/acpi/dispatcher/dsobject.c | |
parent | 93851b4d13de48753eaae76ed190eef7355e2c19 (diff) |
ACPICA: Update for Reference ACPI_OPERAND_OBJECT
1) Add new field for use by DdbHandle (Value)
2) Use ACPI_CAST_INDIRECT_PTR to eliminate strict type warnings
3) Cleanup debug output
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
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 | ||