patch-2.3.27 linux/drivers/acorn/scsi/acornscsi.c

Next file: linux/drivers/acorn/scsi/acornscsi.h
Previous file: linux/arch/sparc64/kernel/sparc64_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/acorn/scsi/acornscsi.c linux/drivers/acorn/scsi/acornscsi.c
@@ -190,10 +190,6 @@
 unsigned int sdtr_period = SDTR_PERIOD;
 unsigned int sdtr_size   = SDTR_SIZE;
 
-static struct proc_dir_entry proc_scsi_acornscsi = {
-	PROC_SCSI_EATA, 9, "acornscsi", S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 static void acornscsi_done(AS_Host *host, Scsi_Cmnd **SCpntp, unsigned int result);
 static int acornscsi_reconnect_finish(AS_Host *host);
 static void acornscsi_dma_cleanup(AS_Host *host);
@@ -2875,7 +2871,7 @@
     struct Scsi_Host *instance;
     AS_Host *host;
 
-    tpnt->proc_dir = &proc_scsi_acornscsi;
+    tpnt->proc_name = "acornscsi";
 
     for (i = 0; i < MAX_ECARDS; i++)
 	ecs[i] = NULL;

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