aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/acobject.h')
-rw-r--r--drivers/acpi/acpica/acobject.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/acobject.h b/drivers/acpi/acpica/acobject.h
index c065078ca83b..364a1303fb8f 100644
--- a/drivers/acpi/acpica/acobject.h
+++ b/drivers/acpi/acpica/acobject.h
@@ -113,8 +113,8 @@ struct acpi_object_integer {
113}; 113};
114 114
115/* 115/*
116 * Note: The String and Buffer object must be identical through the Pointer 116 * Note: The String and Buffer object must be identical through the
117 * and length elements. There is code that depends on this. 117 * pointer and length elements. There is code that depends on this.
118 * 118 *
119 * Fields common to both Strings and Buffers 119 * Fields common to both Strings and Buffers
120 */ 120 */
@@ -206,8 +206,7 @@ struct acpi_object_method {
206 * Common fields for objects that support ASL notifications 206 * Common fields for objects that support ASL notifications
207 */ 207 */
208#define ACPI_COMMON_NOTIFY_INFO \ 208#define ACPI_COMMON_NOTIFY_INFO \
209 union acpi_operand_object *system_notify; /* Handler for system notifies */\ 209 union acpi_operand_object *notify_list[2]; /* Handlers for system/device notifies */\
210 union acpi_operand_object *device_notify; /* Handler for driver notifies */\
211 union acpi_operand_object *handler; /* Handler for Address space */ 210 union acpi_operand_object *handler; /* Handler for Address space */
212 211
213struct acpi_object_notify_common { /* COMMON NOTIFY for POWER, PROCESSOR, DEVICE, and THERMAL */ 212struct acpi_object_notify_common { /* COMMON NOTIFY for POWER, PROCESSOR, DEVICE, and THERMAL */
@@ -296,10 +295,10 @@ struct acpi_object_buffer_field {
296 295
297struct acpi_object_notify_handler { 296struct acpi_object_notify_handler {
298 ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *node; /* Parent device */ 297 ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *node; /* Parent device */
299 u32 handler_type; 298 u32 handler_type; /* Type: Device/System/Both */
300 acpi_notify_handler handler; 299 acpi_notify_handler handler; /* Handler address */
301 void *context; 300 void *context;
302 struct acpi_object_notify_handler *next; 301 union acpi_operand_object *next[2]; /* Device and System handler lists */
303}; 302};
304 303
305struct acpi_object_addr_handler { 304struct acpi_object_addr_handler {
@@ -382,7 +381,7 @@ struct acpi_object_cache_list {
382 381
383/****************************************************************************** 382/******************************************************************************
384 * 383 *
385 * union acpi_operand_object Descriptor - a giant union of all of the above 384 * union acpi_operand_object descriptor - a giant union of all of the above
386 * 385 *
387 *****************************************************************************/ 386 *****************************************************************************/
388 387