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

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

diff -u --recursive --new-file v1.3.14/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -22,7 +22,7 @@
         Changed to support io= irq= by Alan Cox <Alan.Cox@linux.org>
 */
 
-static char *version =
+static const char *version =
 	"eexpress.c:v0.07 1/19/94 Donald Becker (becker@super.org)\n";
 
 #include <linux/config.h>
@@ -375,7 +375,7 @@
 	   interface to minimize bogus bug reports. */
 	{
 		char irqmap[] = {0, 9, 3, 4, 5, 10, 11, 0};
-		char *ifmap[] = {"AUI", "BNC", "10baseT"};
+		const char *ifmap[] = {"AUI", "BNC", "10baseT"};
 		enum iftype {AUI=0, BNC=1, TP=2};
 		unsigned short setupval = read_eeprom(ioaddr, 0);
 

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