[2.6 patch] drivers/acpi/hotkey.c: make 2 structs static

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

 



This patch makes two needlessly global structs static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.20-rc6-mm1/drivers/acpi/hotkey.c.old	2007-01-28 23:31:03.000000000 +0100
+++ linux-2.6.20-rc6-mm1/drivers/acpi/hotkey.c	2007-01-28 23:31:23.000000000 +0100
@@ -234,8 +234,8 @@
 	.release = single_release,
 };
 
-struct acpi_hotkey_list global_hotkey_list;	/* link all ev or pl hotkey  */
-struct list_head hotkey_entries;	/* head of the list of hotkey_list */
+static struct acpi_hotkey_list global_hotkey_list;	/* link all ev or pl hotkey  */
+static struct list_head hotkey_entries;	/* head of the list of hotkey_list */
 
 static int hotkey_info_seq_show(struct seq_file *seq, void *offset)
 {

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux