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

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

diff -u --recursive --new-file v1.3.14/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -186,7 +186,7 @@
     =========================================================================
 */
 
-static char *version = "depca.c:v0.41 5/26/95 davies@wanton.lkg.dec.com\n";
+static const char *version = "depca.c:v0.41 5/26/95 davies@wanton.lkg.dec.com\n";
 
 #include <linux/config.h>
 #ifdef MODULE
@@ -1438,7 +1438,7 @@
 static void DepcaSignature(char *name, u_long paddr)
 {
   u_int i,j,k;
-  char *signatures[] = DEPCA_SIGNATURE;
+  const char *signatures[] = DEPCA_SIGNATURE;
   char tmpstr[16];
 
   for (i=0;i<16;i++) {                  /* copy the first 16 bytes of ROM to */
@@ -1622,7 +1622,7 @@
 static int EISA_signature(char *name, s32 eisa_id)
 {
   u_int i;
-  char *signatures[] = DEPCA_SIGNATURE;
+  const char *signatures[] = DEPCA_SIGNATURE;
   char ManCode[DEPCA_STRLEN];
   union {
     s32 ID;

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