LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] drivers/acpi/hotkey.c: make 2 structs static
@ 2007-01-30  1:11 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-01-30  1:11 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, linux-kernel

This patch makes two needlessly global structs static.

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

--- 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)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-30  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-30  1:11 [2.6 patch] drivers/acpi/hotkey.c: make 2 structs static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).