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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/wd7000.c linux/drivers/scsi/wd7000.c
@@ -171,17 +171,6 @@
 #include "wd7000.h"
 #include <linux/stat.h>
 
-
-struct proc_dir_entry proc_scsi_wd7000 =
-{
-    PROC_SCSI_7000FASST,
-    6,
-    "wd7000",
-    S_IFDIR | S_IRUGO | S_IXUGO,
-    2
-};
-
-
 /*
  *  Mailbox structure sizes.
  *  I prefer to keep the number of ICMBs much larger than the number of
@@ -1542,7 +1531,7 @@
     for (i = 0; i < IRQS; wd7000_host[i++] = NULL) ;
     for (i = 0; i < NUM_CONFIGS; biosptr[i++] = -1) ;
 
-    tpnt->proc_dir = &proc_scsi_wd7000;
+    tpnt->proc_name = "wd7000";
     tpnt->proc_info = &wd7000_proc_info;
 
     /*

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