patch-2.4.4 linux/drivers/net/3c507.c

Next file: linux/drivers/net/3c509.c
Previous file: linux/drivers/net/3c505.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/3c507.c linux/drivers/net/3c507.c
@@ -23,7 +23,7 @@
 	The statistics need to be updated correctly.
 */
 
-static const char *version =
+static const char version[] =
 	"3c507.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
 
 
@@ -323,7 +323,7 @@
 
 static int __init el16_probe1(struct net_device *dev, int ioaddr)
 {
-	static unsigned char init_ID_done = 0, version_printed = 0;
+	static unsigned char init_ID_done, version_printed;
 	int i, irq, irqval, retval;
 	struct net_local *lp;
 
@@ -858,7 +858,7 @@
 #ifdef MODULE
 static struct net_device dev_3c507;
 static int io = 0x300;
-static int irq = 0;
+static int irq;
 MODULE_PARM(io, "i");
 MODULE_PARM(irq, "i");
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)