summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2012-11-01 14:42:12 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:16:04 +0100
commit61622accd05b158d05f967b627e72da23d64f2ed (patch)
tree2c6bfbb15dc14f9436a3bece64215b030553383e /drivers/acpi/osl.c
parent923d4a45a9d2e350c27b7b7e1c724c19eb921c92 (diff)
downloadop-kernel-dev-61622accd05b158d05f967b627e72da23d64f2ed.zip
op-kernel-dev-61622accd05b158d05f967b627e72da23d64f2ed.tar.gz
ACPI: Export functions for hot-remove
Exported acpi_os_hotplug_execute() and acpi_bus_hot_remove_device() so that they can be called from modules for hot-remove operations. Signed-off-by: Toshi Kani <toshi.kani@hp.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 9eaf708..7dfe91d 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -986,6 +986,7 @@ acpi_status acpi_os_hotplug_execute(acpi_osd_exec_callback function,
{
return __acpi_os_execute(0, function, context, 1);
}
+EXPORT_SYMBOL(acpi_os_hotplug_execute);
void acpi_os_wait_events_complete(void)
{
OpenPOWER on IntegriCloud