patch-1.3.15 linux/drivers/scsi/hosts.h

Next file: linux/drivers/scsi/scsi.c
Previous file: linux/drivers/scsi/fdomain.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/drivers/scsi/hosts.h linux/drivers/scsi/hosts.h
@@ -64,7 +64,7 @@
     int (*proc_info)(char *, char **, off_t, int, int, int);
     
     /* driver name that will appear in the /proc/scsi directory */
-    char *procname;
+    const char *procname;
     
     /* low_ino of the drivers /proc/scsi entry. Defined in proc_fs.h */
     unsigned short low_ino;
@@ -73,7 +73,7 @@
      * The name pointer is a pointer to the name of the SCSI
      * device detected.
      */
-    char *name;
+    const char *name;
     
     /*
      * The detect function shall return non zero on detection,
@@ -335,8 +335,8 @@
 struct Scsi_Device_Template
 {
     struct Scsi_Device_Template * next;
-    char * name;
-    char * tag;
+    const char * name;
+    const char * tag;
     int * usage_count;		  /* Used for loadable modules */
     unsigned char scsi_type;
     unsigned char major;

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