diff options
Diffstat (limited to 'drivers/acpi/acpica/acobject.h')
-rw-r--r-- | drivers/acpi/acpica/acobject.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/acobject.h b/drivers/acpi/acpica/acobject.h index b39d682a2140..cde18ea82656 100644 --- a/drivers/acpi/acpica/acobject.h +++ b/drivers/acpi/acpica/acobject.h | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2008, Intel Corp. | 9 | * Copyright (C) 2000 - 2010, Intel Corp. |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -111,7 +111,7 @@ ACPI_OBJECT_COMMON_HEADER}; | |||
111 | 111 | ||
112 | struct acpi_object_integer { | 112 | struct acpi_object_integer { |
113 | ACPI_OBJECT_COMMON_HEADER u8 fill[3]; /* Prevent warning on some compilers */ | 113 | ACPI_OBJECT_COMMON_HEADER u8 fill[3]; /* Prevent warning on some compilers */ |
114 | acpi_integer value; | 114 | u64 value; |
115 | }; | 115 | }; |
116 | 116 | ||
117 | /* | 117 | /* |
@@ -180,7 +180,11 @@ struct acpi_object_method { | |||
180 | u8 sync_level; | 180 | u8 sync_level; |
181 | union acpi_operand_object *mutex; | 181 | union acpi_operand_object *mutex; |
182 | u8 *aml_start; | 182 | u8 *aml_start; |
183 | ACPI_INTERNAL_METHOD implementation; | 183 | union { |
184 | ACPI_INTERNAL_METHOD implementation; | ||
185 | union acpi_operand_object *handler; | ||
186 | } extra; | ||
187 | |||
184 | u32 aml_length; | 188 | u32 aml_length; |
185 | u8 thread_count; | 189 | u8 thread_count; |
186 | acpi_owner_id owner_id; | 190 | acpi_owner_id owner_id; |
@@ -283,8 +287,10 @@ struct acpi_object_buffer_field { | |||
283 | 287 | ||
284 | struct acpi_object_notify_handler { | 288 | struct acpi_object_notify_handler { |
285 | ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *node; /* Parent device */ | 289 | ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *node; /* Parent device */ |
290 | u32 handler_type; | ||
286 | acpi_notify_handler handler; | 291 | acpi_notify_handler handler; |
287 | void *context; | 292 | void *context; |
293 | struct acpi_object_notify_handler *next; | ||
288 | }; | 294 | }; |
289 | 295 | ||
290 | struct acpi_object_addr_handler { | 296 | struct acpi_object_addr_handler { |