Skip to contentSkip to conversation

drivers/acpi/hotkey.c: make 2 structs static

PATCH New Adrian Bunk 1 participant 1 message Jan 30, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/acpi/hotkey.c: make 2 structs static

This patch makes two needlessly global structs static.

drivers/acpi/hotkey.c renamed from drivers/acpi/hotkey.c.old +2 -2
@@ -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)
 {