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

Next file: linux/drivers/net/appletalk/cops.c
Previous file: linux/drivers/net/am79c961a.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/apne.c linux/drivers/net/apne.c
@@ -116,10 +116,10 @@
 #define WORDSWAP(a) ( (((a)>>8)&0xff) | ((a)<<8) )
 
 
-static const char *version =
+static const char version[] =
     "apne.c:v1.1 7/10/98 Alain Malek (Alain.Malek@cryogen.ch)\n";
 
-static int apne_owned = 0;	/* signal if card already owned */
+static int apne_owned;	/* signal if card already owned */
 
 int __init apne_probe(struct net_device *dev)
 {
@@ -173,7 +173,7 @@
 #ifndef MANUAL_HWADDR0
     int neX000, ctron;
 #endif
-    static unsigned version_printed = 0;
+    static unsigned version_printed;
     static u32 pcmcia_offsets[16]={
                 0,   1+GAYLE_ODD,   2,   3+GAYLE_ODD,
                 4,   5+GAYLE_ODD,   6,   7+GAYLE_ODD,

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