patch-2.4.4 linux/drivers/net/mvme147.c

Next file: linux/drivers/net/myri_sbus.c
Previous file: linux/drivers/net/macmace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/mvme147.c linux/drivers/net/mvme147.c
@@ -66,13 +66,13 @@
 typedef unsigned short (*readrdp_t)(void *);
 
 #ifdef MODULE
-static struct m147lance_private *root_m147lance_dev = NULL;
+static struct m147lance_private *root_m147lance_dev;
 #endif
 
 /* Initialise the one and only on-board 7990 */
 int __init mvme147lance_probe(struct net_device *dev)
 {
-	static int called = 0;
+	static int called;
 	static const char name[] = "MVME147 LANCE";
 	struct m147lance_private *lp;
 	u_long *addr;

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