diff options
author | Bob Moore <robert.moore@intel.com> | 2008-12-29 20:45:17 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:10:24 -0500 |
commit | e97d6bf1a01b7403d98aea95731863aab2e84064 (patch) | |
tree | fd6dafb476e312424311425be96e07e5969f060f /include/acpi/acpixf.h | |
parent | c1e3523ccbeca312e11557d2a75f90632a2fb5c7 (diff) |
ACPICA: New: acpi_get_gpe_device interface
This function maps an input GPE index to a GPE block device. Also
Added acpi_current_gpe_count to track the current number of GPEs
that are being managed by the ACPICA core (both FADT-based GPEs
and the GPEs contained in GPE block devices.)
Modify drivers/acpi/system.c to use these 2 new interfaces
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index be0aa5eb0ba7..e09c23719e42 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -265,6 +265,8 @@ acpi_get_gpe_status(acpi_handle gpe_device, | |||
265 | u32 gpe_number, | 265 | u32 gpe_number, |
266 | u32 flags, acpi_event_status * event_status); | 266 | u32 flags, acpi_event_status * event_status); |
267 | 267 | ||
268 | acpi_status acpi_get_gpe_device(u32 gpe_index, acpi_handle *gpe_device); | ||
269 | |||
268 | acpi_status | 270 | acpi_status |
269 | acpi_install_gpe_block(acpi_handle gpe_device, | 271 | acpi_install_gpe_block(acpi_handle gpe_device, |
270 | struct acpi_generic_address *gpe_block_address, | 272 | struct acpi_generic_address *gpe_block_address, |