patch-2.3.27 linux/drivers/net/fc/iph5526.c

Next file: linux/drivers/net/hamradio/mkiss.c
Previous file: linux/drivers/net/es3210.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/net/fc/iph5526.c linux/drivers/net/fc/iph5526.c
@@ -3752,11 +3752,6 @@
 
 /* SCSI stuff starts here */
 
-static struct proc_dir_entry proc_scsi_iph5526 =  {
-	PROC_SCSI_IPH5526_FC, 7, "iph5526", S_IFDIR, S_IRUGO | S_IXUGO, 2
-};
-
-
 int iph5526_detect(Scsi_Host_Template *tmpt)
 {
 struct Scsi_Host *host = NULL;
@@ -3766,7 +3761,7 @@
 u_int pci_maddr = 0;
 struct pci_dev *pdev = NULL;
 
-	tmpt->proc_dir = &proc_scsi_iph5526;
+	tmpt->proc_name = "iph5526";
 	if (pci_present() == 0) {
 		printk("iph5526: PCI not present\n");
 		return 0;

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