patch-1.3.15 linux/drivers/net/hp.c

Next file: linux/drivers/net/hp100.c
Previous file: linux/drivers/net/hp-plus.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/drivers/net/hp.c linux/drivers/net/hp.c
@@ -18,7 +18,7 @@
 	  The Crynwr packet driver.
 */
 
-static char *version =
+static const char *version =
 	"hp.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
 
 #include <linux/kernel.h>
@@ -100,7 +100,7 @@
 int hp_probe1(struct device *dev, int ioaddr)
 {
 	int i, board_id, wordmode;
-	char *name;
+	const char *name;
 
 	/* Check for the HP physical address, 08 00 09 xx xx xx. */
 	/* This really isn't good enough: we may pick up HP LANCE boards

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this