aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
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/acpi_bus.h
parentACPI / scan: Add second pass to acpi_bus_trim() (diff)
downloadlinux-dev-5993c4670ea2453ef5abb45b312f150e994e6eb9.tar.xz
linux-dev-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.h2
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;
};