diff options
author | Yinghai Lu <yinghai@kernel.org> | 2013-01-11 22:40:41 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-15 12:24:59 (GMT) |
commit | 5993c4670ea2453ef5abb45b312f150e994e6eb9 (patch) | |
tree | 5ff0ec317a707caa905dd33d46e66e19b933384d /include | |
parent | 05404d8f7b5c831e1a2c24bb782f0fe8ea02354c (diff) | |
download | linux-fsl-qoriq-5993c4670ea2453ef5abb45b312f150e994e6eb9.tar.xz |
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')
-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 566f1fd..567851b 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; }; |