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

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

diff -u --recursive --new-file v1.3.14/linux/drivers/net/at1700.c linux/drivers/net/at1700.c
@@ -28,7 +28,7 @@
 	response to inb()s from other device probes!
 */
 
-static char *version =
+static const char *version =
 	"at1700.c:v1.12 1/18/95  Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
 
 #include <linux/config.h>
@@ -228,7 +228,7 @@
 	   0x1800 == use coax interface
 	   */
 	{
-		char *porttype[] = {"auto-sense", "10baseT", "auto-sense", "10base2"};
+		const char *porttype[] = {"auto-sense", "10baseT", "auto-sense", "10base2"};
 		ushort setup_value = read_eeprom(ioaddr, 12);
 
 		dev->if_port = setup_value >> 8;

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