summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2012-11-01 14:42:12 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 23:16:04 (GMT)
commit61622accd05b158d05f967b627e72da23d64f2ed (patch)
tree2c6bfbb15dc14f9436a3bece64215b030553383e /drivers
parent923d4a45a9d2e350c27b7b7e1c724c19eb921c92 (diff)
downloadlinux-fsl-qoriq-61622accd05b158d05f967b627e72da23d64f2ed.tar.xz
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 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)
{
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 86bfa69..9d43532 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,