Skip to contentSkip to conversation

drivers/net/3c509.c: make 2 structs static

PATCH New Adrian Bunk 1 participant 1 message Feb 17, 2005 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/3c509.c: make 2 structs static

This patch makes two needlessly global structs static.

---

 drivers/net/3c509.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/3c509.c renamed from drivers/net/3c509.c.old +2 -2
@@ -214,7 +214,7 @@
 #endif
 
 #ifdef CONFIG_EISA
-struct eisa_device_id el3_eisa_ids[] = {
+static struct eisa_device_id el3_eisa_ids[] = {
 		{ "TCM5092" },
 		{ "TCM5093" },
 		{ "" }
@@ -222,7 +222,7 @@
 
 static int el3_eisa_probe (struct device *device);
 
-struct eisa_driver el3_eisa_driver = {
+static struct eisa_driver el3_eisa_driver = {
 		.id_table = el3_eisa_ids,
 		.driver   = {
 				.name    = "3c509",