diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-12-13 00:38:46 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 04:24:41 -0500 |
commit | 8b6cd8ad18def34bfc5045b2a0234329bf94cf78 (patch) | |
tree | 659d2951081b7dd2c09fe63bc569da5555795bbd /include/acpi | |
parent | 3a37898d507794cfc68a092303e02651d3f01308 (diff) |
ACPICA: New GPE handler callback definition
The new GPE handler callback has 2 additional parameters, gpe_device and
gpe_number.
typedef
u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context);
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpixf.h | 4 | ||||
-rw-r--r-- | include/acpi/actypes.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 5f8ccf1b5ae9..b806e5611c90 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -258,11 +258,11 @@ acpi_remove_address_space_handler(acpi_handle device, | |||
258 | acpi_status | 258 | acpi_status |
259 | acpi_install_gpe_handler(acpi_handle gpe_device, | 259 | acpi_install_gpe_handler(acpi_handle gpe_device, |
260 | u32 gpe_number, | 260 | u32 gpe_number, |
261 | u32 type, acpi_event_handler address, void *context); | 261 | u32 type, acpi_gpe_handler address, void *context); |
262 | 262 | ||
263 | acpi_status | 263 | acpi_status |
264 | acpi_remove_gpe_handler(acpi_handle gpe_device, | 264 | acpi_remove_gpe_handler(acpi_handle gpe_device, |
265 | u32 gpe_number, acpi_event_handler address); | 265 | u32 gpe_number, acpi_gpe_handler address); |
266 | 266 | ||
267 | #ifdef ACPI_FUTURE_USAGE | 267 | #ifdef ACPI_FUTURE_USAGE |
268 | acpi_status acpi_install_exception_handler(acpi_exception_handler handler); | 268 | acpi_status acpi_install_exception_handler(acpi_exception_handler handler); |
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index e73893994b5d..b9575ad9b748 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -897,6 +897,9 @@ typedef void | |||
897 | typedef u32(*acpi_event_handler) (void *context); | 897 | typedef u32(*acpi_event_handler) (void *context); |
898 | 898 | ||
899 | typedef | 899 | typedef |
900 | u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context); | ||
901 | |||
902 | typedef | ||
900 | void (*acpi_notify_handler) (acpi_handle device, u32 value, void *context); | 903 | void (*acpi_notify_handler) (acpi_handle device, u32 value, void *context); |
901 | 904 | ||
902 | typedef | 905 | typedef |