patch-2.1.11 linux/drivers/net/3c505.c

Next file: linux/drivers/net/8390.c
Previous file: linux/drivers/isdn/pcbit/drv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.10/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -1657,13 +1657,14 @@
 
 #ifdef MODULE
 #define NAMELEN 9
-static char devicename[ELP_MAX_CARDS][NAMELEN] = {0,};
+static char devicename[ELP_MAX_CARDS][NAMELEN] = {{0,}};
 static struct device dev_3c505[ELP_MAX_CARDS] =
 {
-	NULL,		/* device name is inserted by net_init.c */
+	{ NULL,		/* device name is inserted by net_init.c */
 	0, 0, 0, 0,
 	0, 0,
-	0, 0, 0, NULL, elplus_probe};
+	0, 0, 0, NULL, elplus_probe},
+};
 
 static int io[ELP_MAX_CARDS] = { 0, };
 static int irq[ELP_MAX_CARDS] = { 0, };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov