mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.125,1.126
David Woodhouse
dwmw2 at infradead.org
Mon Jun 23 03:45:50 EDT 2003
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv32105
Modified Files:
cfi_cmdset_0001.c
Log Message:
Fix map_write calls.
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- cfi_cmdset_0001.c 15 Jun 2003 17:08:51 -0000 1.125
+++ cfi_cmdset_0001.c 23 Jun 2003 07:45:48 -0000 1.126
@@ -1025,11 +1025,11 @@
while (i < CFIDEV_BUSWIDTH)
tmp_buf[i++] = 0xff;
if (cfi_buswidth_is_2()) {
- map->write16 (map, *((__u16*)tmp_p)++, adr+z);
+ map_write16 (map, *((__u16*)tmp_p)++, adr+z);
} else if (cfi_buswidth_is_4()) {
- map->write32 (map, *((__u32*)tmp_p)++, adr+z);
+ map_write32 (map, *((__u32*)tmp_p)++, adr+z);
} else if (cfi_buswidth_is_8()) {
- map->write64 (map, *((__u64*)tmp_p)++, adr+z);
+ map_write64 (map, *((__u64*)tmp_p)++, adr+z);
} else {
ret = -EINVAL;
goto out;
More information about the linux-mtd-cvs
mailing list