[PATCH] duplicate assignment in map_ram.c
Eric
ebrower at usa.net
Thu Aug 2 16:51:55 EDT 2001
dwmw2, et. al.,
There's a duplicate assignment to mtd->erasesize in
<mtd>/drivers/mtd/chips/map_ram.c which is removed
with the following patch. I've assumed that the later
assignment is the one you wish to keep-- this may not
be the correct assumption.
E
Index: map_ram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/map_ram.c,v
retrieving revision 1.12
diff -u -r1.12 map_ram.c
--- map_ram.c 2001/07/14 00:59:17 1.12
+++ map_ram.c 2001/08/02 20:52:38
@@ -63,7 +63,6 @@
mtd->priv = map;
mtd->name = map->name;
mtd->type = MTD_RAM;
- mtd->erasesize = 0x10000;
mtd->size = map->size;
mtd->erase = mapram_erase;
mtd->read = mapram_read;
More information about the linux-mtd
mailing list