lkml.org 
[lkml]   [2006]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static
    On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.16-rc5-mm1:
    >...
    > +enable-sci_emulate-to-manually-simulate-physical-hotplug-testing.patch
    >
    > x86_64 CPU hotplug
    >...


    There's no reason for struct acpi_sci_dir being global.


    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.16-rc5-mm2-full/drivers/acpi/bus.c.old 2006-03-03 17:33:38.000000000 +0100
    +++ linux-2.6.16-rc5-mm2-full/drivers/acpi/bus.c 2006-03-03 17:33:51.000000000 +0100
    @@ -47,7 +47,7 @@
    static void acpi_sci_notify_client(char *acpi_name, u32 event);
    static int acpi_sci_notify_write_proc(struct file *file, const char *buffer, \
    unsigned long count, void *data);
    -struct proc_dir_entry *acpi_sci_dir;
    +static struct proc_dir_entry *acpi_sci_dir;

    #else
    #define acpi_init_sci_emulate()
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-04 13:16    [W:4.294 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site