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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux