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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/aha1542.c linux/drivers/scsi/aha1542.c
@@ -54,11 +54,6 @@
 
 #include<linux/stat.h>
 
-struct proc_dir_entry proc_scsi_aha1542 = {
-    PROC_SCSI_AHA1542, 7, "aha1542",
-    S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 #ifdef DEBUG
 #define DEB(x) x
 #else
@@ -967,7 +962,7 @@
 
     DEB(printk("aha1542_detect: \n"));
 
-    tpnt->proc_dir = &proc_scsi_aha1542;
+    tpnt->proc_name = "aha1542";
 
 #ifdef MODULE
     bases[0]        = aha1542[0];              

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