]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/acpi/acpi_bus.h
ACPI / dock: Add .uevent() callback to struct acpi_hotplug_context
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Feb 2014 00:10:27 +0000 (01:10 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Feb 2014 00:10:27 +0000 (01:10 +0100)
commitbe27b3dcb02335ec093b81053fc8c84b32d3106e
tree473c5dcff60a8568d272da97830dbd0fb9e2fe8d
parentedf5bf34d40804fbef32f240a79b74ffc69a658b
ACPI / dock: Add .uevent() callback to struct acpi_hotplug_context

In order to avoid the need to register special ACPI dock
operations for SATA devices add a .uevent() callback pointer to
struct acpi_hotplug_context and make dock_hotplug_event() use that
callback if available.  Also rename the existing .event() callback
in struct acpi_hotplug_context to .notify() to avoid possible
confusion in the future.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c
drivers/acpi/scan.c
drivers/pci/hotplug/acpiphp_glue.c
include/acpi/acpi_bus.h