Author: czeidler Date: 2009-10-19 19:42:18 +0200 (Mon, 19 Oct 2009) New Revision: 33657 Changeset: http://dev.haiku-os.org/changeset/33657/haiku Modified: haiku/trunk/headers/os/drivers/ACPI.h Log: Remove type variable from reference, it is already defined as object_type before of the union. Modified: haiku/trunk/headers/os/drivers/ACPI.h =================================================================== --- haiku/trunk/headers/os/drivers/ACPI.h 2009-10-19 16:31:14 UTC (rev 33656) +++ haiku/trunk/headers/os/drivers/ACPI.h 2009-10-19 17:42:18 UTC (rev 33657) @@ -88,9 +88,7 @@ uint32 count; acpi_object_type *objects; } package; - struct - { - uint32 type; + struct { uint32 actual_type; acpi_handle handle; } reference; @@ -126,7 +124,7 @@ ACPI_ALLOCATE_BUFFER = -1, }; - + #endif // __ACTYPES_H__ @@ -148,7 +146,7 @@ status_t (*get_handle)(acpi_handle parent, char *pathname, acpi_handle *retHandle); - + /* Global Lock */ status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle); @@ -163,7 +161,7 @@ uint32 handlerType, acpi_notify_handler handler); /* GPE Handler */ - + status_t (*enable_gpe)(acpi_handle handle, uint32 gpeNumber, uint32 flags); status_t (*set_gpe_type)(acpi_handle handle, uint32 gpeNumber, @@ -174,7 +172,7 @@ acpi_event_handler address); /* Address Space Handler */ - + status_t (*install_address_space_handler)(acpi_handle handle, uint32 spaceId, acpi_adr_space_handler handler,