patch-2.3.27 linux/drivers/scsi/ppa.h

Next file: linux/drivers/scsi/psi240i.c
Previous file: linux/drivers/scsi/pluto.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/ppa.h linux/drivers/scsi/ppa.h
@@ -138,10 +138,7 @@
 static void ppa_interrupt(void *);
 static int ppa_out(int, char *, int);
 
-struct proc_dir_entry proc_scsi_ppa =
-{PROC_SCSI_PPA, 3, "ppa", S_IFDIR | S_IRUGO | S_IXUGO, 2};
 #else
-extern struct proc_dir_entry proc_scsi_ppa;
 #define ppa_release 0
 #endif
 
@@ -154,7 +151,7 @@
 int ppa_proc_info(char *, char **, off_t, int, int, int);
 int ppa_biosparam(Disk *, kdev_t, int *);
 
-#define PPA {	proc_dir:			&proc_scsi_ppa,		\
+#define PPA {	proc_name:			"ppa",		\
 		proc_info:			ppa_proc_info,		\
 		name:				"Iomega VPI0 (ppa) interface",\
 		detect:				ppa_detect,		\

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