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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/seagate.c linux/drivers/scsi/seagate.c
@@ -108,12 +108,6 @@
 #endif
 #define DANY( msg... ) DPRINTK( 0xffff, msg );
 
-static struct proc_dir_entry proc_scsi_seagate =
-{
-  PROC_SCSI_SEAGATE, 7, "seagate",
-  S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 #ifndef IRQ
 #define IRQ 5
 #endif
@@ -418,7 +412,7 @@
   struct Scsi_Host *instance;
   int i, j;
 
-  tpnt->proc_dir = &proc_scsi_seagate;
+  tpnt->proc_name = "seagate";
 /*
  *    First, we try for the manual override.  */
   DANY ("Autodetecting ST0x / TMC-8xx\n");

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