diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-06 19:42:09 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-06 19:42:09 -0500 |
commit | 43d388832bd3e413e9b5e6f3caef4b0844b901af (patch) | |
tree | 0a95011781ad5a4286761fd17ed2f5c285b5e02a /drivers/acpi/internal.h | |
parent | a3b1b1ef78cd2ffb5d3a223465064dee05929dc3 (diff) |
ACPI / hotplug: Carry out PCI root eject directly
Since _handle_hotplug_event_root() is run from the ACPI hotplug
workqueue, it doesn't need to queue up a work item to eject a PCI
host bridge on the same workqueue. Instead, it can just carry out
the eject by calling acpi_bus_device_eject() directly, so make that
happen.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 6c79ae69d344..80cd1a10c4c3 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -87,7 +87,7 @@ void acpi_device_add_finalize(struct acpi_device *device); | |||
87 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); | 87 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); |
88 | int acpi_bind_one(struct device *dev, acpi_handle handle); | 88 | int acpi_bind_one(struct device *dev, acpi_handle handle); |
89 | int acpi_unbind_one(struct device *dev); | 89 | int acpi_unbind_one(struct device *dev); |
90 | void acpi_bus_hot_remove_device(void *context); | 90 | void acpi_bus_device_eject(struct acpi_device *device, u32 ost_src); |
91 | 91 | ||
92 | /* -------------------------------------------------------------------------- | 92 | /* -------------------------------------------------------------------------- |
93 | Power Resource | 93 | Power Resource |