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

Next file: linux/drivers/scsi/oktagon_esp.h
Previous file: linux/drivers/scsi/mvme16x.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/ncr53c8xx.c linux/drivers/scsi/ncr53c8xx.c
@@ -733,10 +733,6 @@
 **	/proc directory entry and proc_info function
 */
 
-static struct proc_dir_entry proc_scsi_ncr53c8xx = {
-    PROC_SCSI_NCR53C8XX, 9, "ncr53c8xx",
-    S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
 #ifdef SCSI_NCR_PROC_INFO_SUPPORT
 static int ncr53c8xx_proc_info(char *buffer, char **start, off_t offset,
 			int length, int hostno, int func);
@@ -9383,7 +9379,7 @@
 	ncr_debug = driver_setup.debug;
 #endif
 
-     tpnt->proc_dir = &proc_scsi_ncr53c8xx;
+     tpnt->proc_name = "ncr53c8xx";
 #ifdef SCSI_NCR_PROC_INFO_SUPPORT
      tpnt->proc_info = ncr53c8xx_proc_info;
 #endif

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