[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1351780933-30560-2-git-send-email-toshi.kani@hp.com>
Date: Thu, 1 Nov 2012 08:42:12 -0600
From: Toshi Kani <toshi.kani@...com>
To: linux-acpi@...r.kernel.org, lenb@...nel.org, rjw@...k.pl
Cc: linux-kernel@...r.kernel.org, isimatu.yasuaki@...fujitsu.com,
imammedo@...hat.com, vijaymohan.pandarathil@...com,
prarit@...hat.com, bhelgaas@...gle.com,
Toshi Kani <toshi.kani@...com>
Subject: [PATCH v3 1/2] 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@...com>
---
drivers/acpi/osl.c | 1 +
drivers/acpi/scan.c | 1 +
2 files changed, 2 insertions(+)
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 1fcb867..a81845e 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -157,6 +157,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,
--
1.7.11.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists