Patch to g_NCR5380.c

Kevin Lentin (kevinl@cs.monash.edu.au)
Sat, 5 Apr 1997 18:45:44 +1000 (EST)


The declaration of i in g_NCR5380_pread got removed in 2.1.31
It needs to be there (although not always). This patch fixes it...

--- drivers/scsi/g_NCR5380.c.orig Sat Apr 5 18:43:08 1997
+++ drivers/scsi/g_NCR5380.c Sat Apr 5 18:43:16 1997
@@ -331,6 +331,9 @@
int blocks = len / 128;
int start = 0;
int bl;
+#ifdef CONFIG_SCSI_G_NCR5380_PORT
+ int i;
+#endif
NCR5380_local_declare();

NCR5380_setup(instance);

-- 
[======================================================================]
[     Kevin Lentin               Email: K.Lentin@cs.monash.edu.au      ]
[   finger kevinl@fangorn.cs.monash.edu.au for PGP public key block.   ]
[  KeyId: 06808EED    FingerPrint: 6024308DE1F84314  811B511DBA6FD596  ]
[======================================================================]