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

Next file: linux/drivers/net/tokenring/lanstreamer.c
Previous file: linux/drivers/net/sunqe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/tlan.c linux/drivers/net/tlan.c
@@ -205,7 +205,7 @@
 static	int		bbuf;
 static	u8		*TLanPadBuffer;
 static	char		TLanSignature[] = "TLAN";
-static const char *tlan_banner = "ThunderLAN driver v1.14a\n";
+static const char tlan_banner[] = "ThunderLAN driver v1.14a\n";
 static int tlan_have_pci;
 static int tlan_have_eisa;
 
@@ -427,7 +427,7 @@
 
 static int __init tlan_probe(void)
 {
-	static int	pad_allocated = 0;
+	static int	pad_allocated;
 	
 	printk(KERN_INFO "%s", tlan_banner);
 	

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