aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-09-17 22:16:13 -0700
committerYinghai Lu <yinghai@kernel.org>2012-09-17 22:16:13 -0700
commit2fa45e44ac7319ebab13adb9d6f19a26f4ee9242 (patch)
treef49169a4cdf183a88e6741c83d89afa4c125383a
parent0990326afe611d6f633054126ed5cce7b102654d (diff)
downloadlinux-yinghai-2fa45e44ac7319ebab13adb9d6f19a26f4ee9242.tar.gz
PCI, ACPI: Make kacpi_hotplug_wq staticfor-pci-root-bus-hotplug-part4
No external user anymore. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Len Brown <lenb@kernel.org> Cc: linux-acpi@vger.kernel.org
-rw-r--r--drivers/acpi/osl.c3
-rw-r--r--include/acpi/acpiosxf.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 0719fa7bd0673..311a921d95c10 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -84,8 +84,7 @@ static acpi_osd_handler acpi_irq_handler;
static void *acpi_irq_context;
static struct workqueue_struct *kacpid_wq;
static struct workqueue_struct *kacpi_notify_wq;
-struct workqueue_struct *kacpi_hotplug_wq;
-EXPORT_SYMBOL(kacpi_hotplug_wq);
+static struct workqueue_struct *kacpi_hotplug_wq;
/*
* This list of permanent mappings is for memory that may be accessed from
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h
index 6ff92ea707b3f..9f68f69c7bef0 100644
--- a/include/acpi/acpiosxf.h
+++ b/include/acpi/acpiosxf.h
@@ -194,8 +194,6 @@ void acpi_os_fixed_event_count(u32 fixed_event_number);
/*
* Threads and Scheduling
*/
-extern struct workqueue_struct *kacpi_hotplug_wq;
-
struct acpi_hp_work {
struct work_struct work;
acpi_handle handle;