summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2013-01-11 22:40:41 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-15 13:24:59 +0100
commit5993c4670ea2453ef5abb45b312f150e994e6eb9 (patch)
tree5ff0ec317a707caa905dd33d46e66e19b933384d /include/acpi
parent05404d8f7b5c831e1a2c24bb782f0fe8ea02354c (diff)
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')
-rw-r--r--include/acpi/acpi_bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 566f1fdabbd..567851b4f04 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;
};