patch-2.3.27 linux/drivers/scsi/ultrastor.c

Next file: linux/drivers/scsi/wd7000.c
Previous file: linux/drivers/scsi/u14-34f.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/ultrastor.c linux/drivers/scsi/ultrastor.c
@@ -148,11 +148,6 @@
 #include "sd.h"
 #include<linux/stat.h>
 
-struct proc_dir_entry proc_scsi_ultrastor = {
-    PROC_SCSI_ULTRASTOR, 9, "ultrastor",
-    S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 #define FALSE 0
 #define TRUE 1
 
@@ -631,7 +626,7 @@
 
 int ultrastor_detect(Scsi_Host_Template * tpnt)
 {
-    tpnt->proc_dir = &proc_scsi_ultrastor;
+    tpnt->proc_name = "ultrastor";
   return ultrastor_14f_detect(tpnt) || ultrastor_24f_detect(tpnt);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)