patch-2.1.43 linux/drivers/scsi/g_NCR5380.c

Next file: linux/drivers/scsi/script_asm.pl
Previous file: linux/drivers/scsi/amiga7xx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/drivers/scsi/g_NCR5380.c linux/drivers/scsi/g_NCR5380.c
@@ -619,7 +619,10 @@
     struct Scsi_Host *scsi_ptr;
     Scsi_Cmnd *ptr;
     struct NCR5380_hostdata *hostdata;
-    
+#ifdef NCR5380_STATS
+    Scsi_Device *dev;
+    extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE];
+#endif    
     cli();
 
     for (scsi_ptr = first_instance; scsi_ptr; scsi_ptr=scsi_ptr->next)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov