summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.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/scan.c
parent923d4a45a9d2e350c27b7b7e1c724c19eb921c92 (diff)
downloadlinux-61622accd05b158d05f967b627e72da23d64f2ed.tar.bz2
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/scan.c')
-rw-r--r--drivers/acpi/scan.c1
1 files changed, 1 insertions, 0 deletions
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,