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

Next file: linux/drivers/scsi/AM53C974.h
Previous file: linux/drivers/scsi/53c7,8xx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/AM53C974.c linux/drivers/scsi/AM53C974.c
@@ -390,12 +390,6 @@
 {
 	{-1, 0, 0, 0},};	/* LILO overrides */
 
-struct proc_dir_entry proc_scsi_am53c974 =
-{
-	PROC_SCSI_AM53C974, 8, "am53c974",
-	S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 #ifdef AM53C974_DEBUG
 static int deb_stop = 1;
 
@@ -664,7 +658,7 @@
 {
 	int count = 0;		/* number of boards detected */
 
-	tpnt->proc_dir = &proc_scsi_am53c974;
+	tpnt->proc_name = "am53c974";
 
 #if defined (CONFIG_PCI)
 	if (pci_present())

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