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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/pluto.c linux/drivers/scsi/pluto.c
@@ -39,11 +39,6 @@
 #define PLND(x)
 #endif
 
-struct proc_dir_entry proc_scsi_pluto = {
-	PROC_SCSI_PLUTO, 5, "pluto",
-	S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 static struct ctrl_inquiry {
 	struct Scsi_Host host;
 	struct pluto pluto;
@@ -98,7 +93,7 @@
 	fc_channel *fc;
 	Scsi_Device dev;
 
-	tpnt->proc_dir = &proc_scsi_pluto;
+	tpnt->proc_name = "pluto";
 	fcscount = 0;
 	for_each_online_fc_channel(fc) {
 		if (!fc->posmap)

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