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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/fdomain.c linux/drivers/scsi/fdomain.c
@@ -274,9 +274,7 @@
 #define MODULE
 #endif
 
-#ifdef MODULE
 #include <linux/module.h>
-#endif
 
 #ifdef PCMCIA
 #undef MODULE
@@ -299,11 +297,6 @@
 #include <linux/delay.h>
 
 #include <linux/config.h>	/* for CONFIG_PCI */
-
-struct proc_dir_entry proc_scsi_fdomain = {
-    PROC_SCSI_FDOMAIN, 7, "fdomain",
-    S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
   
 #define VERSION          "$Revision: 5.50 $"
 
@@ -884,7 +877,7 @@
    unsigned char    buf[buflen];
 #endif
 
-   tpnt->proc_dir = &proc_scsi_fdomain;
+   tpnt->proc_name = "fdomain";
 
 #ifdef MODULE
    if (fdomain[0] || fdomain[1] || fdomain[2]) {

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