Skip to contentSkip to conversation

drivers/net/depca.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/depca.c: make 2 structs static

This patch makes two needlessly global structs static.

---

 drivers/net/depca.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/depca.c renamed from drivers/net/depca.c.old +2 -2
@@ -342,14 +342,14 @@
 static int depca_device_remove (struct device *device);
 
 #ifdef CONFIG_EISA
-struct eisa_device_id depca_eisa_ids[] = {
+static struct eisa_device_id depca_eisa_ids[] = {
 	{ "DEC4220", de422 },
 	{ "" }
 };
 
 static int depca_eisa_probe  (struct device *device);
 
-struct eisa_driver depca_eisa_driver = {
+static struct eisa_driver depca_eisa_driver = {
 	.id_table = depca_eisa_ids,
 	.driver   = {
 		.name    = depca_string,