From: Toshi Kani Date: Thu, 1 Nov 2012 14:42:12 +0000 (+0000) Subject: ACPI: Export functions for hot-remove X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61622accd05b158d05f967b627e72da23d64f2ed;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Rafael J. Wysocki --- 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,