summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2012-11-01 15:42:12 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:16:04 +0100
commit61622accd05b158d05f967b627e72da23d64f2ed (patch)
tree2c6bfbb15dc14f9436a3bece64215b030553383e /drivers
parentACPI: Add user space interface for identification objects (diff)
downloadlinux-61622accd05b158d05f967b627e72da23d64f2ed.tar.xz
linux-61622accd05b158d05f967b627e72da23d64f2ed.zip
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')
-rw-r--r--drivers/acpi/osl.c1
-rw-r--r--drivers/acpi/scan.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 9eaf708f5885..7dfe91d0173e 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)
{
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 86bfa690bc6f..9d43532d69b1 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -161,6 +161,7 @@ err_out:
kfree(context);
return;
}
+EXPORT_SYMBOL(acpi_bus_hot_remove_device);
static ssize_t
acpi_eject_store(struct device *d, struct device_attribute *attr,