diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-12-13 13:38:46 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 04:24:41 -0500 |
commit | 8b6cd8ad18def34bfc5045b2a0234329bf94cf78 (patch) | |
tree | 659d2951081b7dd2c09fe63bc569da5555795bbd /drivers/acpi/ec.c | |
parent | 3a37898d507794cfc68a092303e02651d3f01308 (diff) | |
download | op-kernel-dev-8b6cd8ad18def34bfc5045b2a0234329bf94cf78.zip op-kernel-dev-8b6cd8ad18def34bfc5045b2a0234329bf94cf78.tar.gz |
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 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 302b31e..8188772 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -606,7 +606,8 @@ static int ec_check_sci(struct acpi_ec *ec, u8 state) return 0; } -static u32 acpi_ec_gpe_handler(void *data) +static u32 acpi_ec_gpe_handler(acpi_handle gpe_device, + u32 gpe_number, void *data) { struct acpi_ec *ec = data; |