aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-21 18:48:31 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-21 18:48:31 -0500
commit5d5132059a1f652de9dc2d62a8ff15561e648d11 (patch)
tree50b8d40bcdc23aa66a64db90c733160a0e565867 /include/acpi
parentbe27b3dcb02335ec093b81053fc8c84b32d3106e (diff)
ACPI / ATA: Add hotplug contexts to ACPI companions of SATA devices
Modify the SATA subsystem to add hotplug contexts to ACPI companions of SATA devices and ports instead of registering special ACPI dock operations using register_hotplug_dock_device(). That change will allow the entire code handling those special ACPI dock operations to be dropped in the next commit. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_bus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 738278606677..fb23a7b6c919 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -379,6 +379,11 @@ static inline void acpi_set_hp_context(struct acpi_device *adev,
379 adev->hp = hp; 379 adev->hp = hp;
380} 380}
381 381
382void acpi_initialize_hp_context(struct acpi_device *adev,
383 struct acpi_hotplug_context *hp,
384 int (*notify)(struct acpi_device *, u32),
385 void (*uevent)(struct acpi_device *, u32));
386
382/* acpi_device.dev.bus == &acpi_bus_type */ 387/* acpi_device.dev.bus == &acpi_bus_type */
383extern struct bus_type acpi_bus_type; 388extern struct bus_type acpi_bus_type;
384 389