lkml.org 
[lkml]   [2012]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 32/40] PCI, ACPI: Make kacpi_hotplug_wq static
    Date
    No external user anymore.

    Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    Cc: Len Brown <lenb@kernel.org>
    Cc: linux-acpi@vger.kernel.org
    ---
    drivers/acpi/osl.c | 3 +--
    include/acpi/acpiosxf.h | 2 --
    2 files changed, 1 insertions(+), 4 deletions(-)

    diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
    index 0719fa7..311a921 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 6ff92ea..9f68f69 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;
    --
    1.7.7


    \
     
     \ /
      Last update: 2012-09-19 22:01    [W:4.301 / U:0.656 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site