git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
mtd
/
chips
/
map_ram.c
diff --git
a/drivers/mtd/chips/map_ram.c
b/drivers/mtd/chips/map_ram.c
index
3a66680
..
bd2e876
100644
(file)
--- a/
drivers/mtd/chips/map_ram.c
+++ b/
drivers/mtd/chips/map_ram.c
@@
-70,8
+70,7
@@
static struct mtd_info *map_ram_probe(struct map_info *map)
mtd->read = mapram_read;
mtd->write = mapram_write;
mtd->sync = mapram_nop;
- mtd->flags = MTD_CAP_RAM;
- mtd->writesize = 1;
+ mtd->flags = MTD_CAP_RAM | MTD_VOLATILE;
mtd->erasesize = PAGE_SIZE;
while(mtd->size & (mtd->erasesize - 1))