Remove type variable from reference, it is already defined as object_type before of the union.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33657 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -88,9 +88,7 @@ struct acpi_object_type {
|
|||||||
uint32 count;
|
uint32 count;
|
||||||
acpi_object_type *objects;
|
acpi_object_type *objects;
|
||||||
} package;
|
} package;
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
uint32 type;
|
|
||||||
uint32 actual_type;
|
uint32 actual_type;
|
||||||
acpi_handle handle;
|
acpi_handle handle;
|
||||||
} reference;
|
} reference;
|
||||||
@@ -126,7 +124,7 @@ enum {
|
|||||||
ACPI_ALLOCATE_BUFFER = -1,
|
ACPI_ALLOCATE_BUFFER = -1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // __ACTYPES_H__
|
#endif // __ACTYPES_H__
|
||||||
|
|
||||||
|
|
||||||
@@ -148,7 +146,7 @@ struct acpi_module_info {
|
|||||||
|
|
||||||
status_t (*get_handle)(acpi_handle parent, char *pathname,
|
status_t (*get_handle)(acpi_handle parent, char *pathname,
|
||||||
acpi_handle *retHandle);
|
acpi_handle *retHandle);
|
||||||
|
|
||||||
/* Global Lock */
|
/* Global Lock */
|
||||||
|
|
||||||
status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
|
status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
|
||||||
@@ -163,7 +161,7 @@ struct acpi_module_info {
|
|||||||
uint32 handlerType, acpi_notify_handler handler);
|
uint32 handlerType, acpi_notify_handler handler);
|
||||||
|
|
||||||
/* GPE Handler */
|
/* GPE Handler */
|
||||||
|
|
||||||
status_t (*enable_gpe)(acpi_handle handle, uint32 gpeNumber,
|
status_t (*enable_gpe)(acpi_handle handle, uint32 gpeNumber,
|
||||||
uint32 flags);
|
uint32 flags);
|
||||||
status_t (*set_gpe_type)(acpi_handle handle, uint32 gpeNumber,
|
status_t (*set_gpe_type)(acpi_handle handle, uint32 gpeNumber,
|
||||||
@@ -174,7 +172,7 @@ struct acpi_module_info {
|
|||||||
acpi_event_handler address);
|
acpi_event_handler address);
|
||||||
|
|
||||||
/* Address Space Handler */
|
/* Address Space Handler */
|
||||||
|
|
||||||
status_t (*install_address_space_handler)(acpi_handle handle,
|
status_t (*install_address_space_handler)(acpi_handle handle,
|
||||||
uint32 spaceId,
|
uint32 spaceId,
|
||||||
acpi_adr_space_handler handler,
|
acpi_adr_space_handler handler,
|
||||||
|
|||||||
Reference in New Issue
Block a user