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

Next file: linux/drivers/block/amiflop.c
Previous file: linux/drivers/acorn/scsi/oak.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/acorn/scsi/powertec.c linux/drivers/acorn/scsi/powertec.c
@@ -81,11 +81,6 @@
  */
 int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 };
 
-static struct proc_dir_entry proc_scsi_powertec = {
-	PROC_SCSI_QLOGICISP, 8, "powertec",
-	S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 /* Prototype: void powertecscsi_irqenable(ec, irqnr)
  * Purpose  : Enable interrupts on Powertec SCSI card
  * Params   : ec    - expansion card structure
@@ -236,7 +231,7 @@
 	int count = 0;
 	struct Scsi_Host *host;
   
-	tpnt->proc_dir = &proc_scsi_powertec;
+	tpnt->proc_name = "powertec";
 	memset(ecs, 0, sizeof (ecs));
 
 	ecard_startfind();

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