mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.107,1.108
ebiederman at lnxi.com
ebiederman at lnxi.com
Wed Sep 1 21:59:25 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv20080/drivers/mtd/chips
Modified Files:
cfi_cmdset_0002.c
Log Message:
- Don't assume HZ is a constant. It should be but...
Index: cfi_cmdset_0002.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0002.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- cfi_cmdset_0002.c 12 Aug 2004 06:40:22 -0000 1.107
+++ cfi_cmdset_0002.c 2 Sep 2004 01:59:22 -0000 1.108
@@ -988,7 +988,7 @@
struct cfi_private *cfi = map->fldrv_priv;
unsigned long timeo = jiffies + HZ;
/* see comments in do_write_oneword() regarding uWriteTimeo. */
- static unsigned long uWriteTimeout = ( HZ / 1000 ) + 1;
+ unsigned long uWriteTimeout = ( HZ / 1000 ) + 1;
int ret = -EIO;
unsigned long cmd_adr;
int z, words;
More information about the linux-mtd-cvs
mailing list