[-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static

From: Adrian Bunk
Date: Sat Mar 04 2006 - 07:12:05 EST


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@xxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/