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

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

diff -u --recursive --new-file v2.4.3/linux/drivers/net/myri_sbus.c linux/drivers/net/myri_sbus.c
@@ -3,7 +3,7 @@
  * Copyright (C) 1996, 1999 David S. Miller (davem@redhat.com)
  */
 
-static char *version =
+static char version[] =
         "myri_sbus.c:v1.9 12/Sep/99 David S. Miller (davem@redhat.com)\n";
 
 #include <linux/module.h>
@@ -89,7 +89,7 @@
 #endif
 
 #ifdef MODULE
-static struct myri_eth *root_myri_dev = NULL;
+static struct myri_eth *root_myri_dev;
 #endif
 
 static void myri_reset_off(unsigned long lp, unsigned long cregs)
@@ -886,7 +886,7 @@
 
 static int __init myri_ether_init(struct net_device *dev, struct sbus_dev *sdev, int num)
 {
-	static unsigned version_printed = 0;
+	static unsigned version_printed;
 	struct myri_eth *mp;
 	unsigned char prop_buf[32];
 	int i;
@@ -1109,7 +1109,7 @@
 	struct net_device *dev = NULL;
 	struct sbus_bus *bus;
 	struct sbus_dev *sdev = 0;
-	static int called = 0;
+	static int called;
 	int cards = 0, v;
 
 #ifdef MODULE

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