diff options
author | Yinghai Lu <yinghai@kernel.org> | 2013-01-11 22:40:41 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-15 13:24:59 +0100 |
commit | 5993c4670ea2453ef5abb45b312f150e994e6eb9 (patch) | |
tree | 5ff0ec317a707caa905dd33d46e66e19b933384d /include/acpi/acpi_bus.h | |
parent | 05404d8f7b5c831e1a2c24bb782f0fe8ea02354c (diff) | |
download | linux-5993c4670ea2453ef5abb45b312f150e994e6eb9.tar.gz linux-5993c4670ea2453ef5abb45b312f150e994e6eb9.tar.bz2 linux-5993c4670ea2453ef5abb45b312f150e994e6eb9.zip |
ACPI: update ej_event interface to take acpi_device
Should use acpi_device pointer directly instead of use handle and
get the device pointer again later.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 566f1fdabbd2..567851b4f043 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -306,7 +306,7 @@ struct acpi_bus_event { }; struct acpi_eject_event { - acpi_handle handle; + struct acpi_device *device; u32 event; }; |