commit | 17ffc7ba6d7ea68b8d5f55a5ca1b87163e69720d | [log] [tgz] |
---|---|---|
author | Artem B. Bityutskiy <dedekind@sauron.oktetlabs.ru> | Thu Jun 22 18:15:48 2006 +0400 |
committer | Artem B. Bityutskiy <dedekind@sauron.oktetlabs.ru> | Thu Jun 22 18:15:48 2006 +0400 |
tree | a7b8595492f38425a971d8e212ce367fb0bebb4a | |
parent | 1794c13002918c2216e2e11913eb299d071a5731 [diff] [blame] |
[MTD] Initialize 'writesize' Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
diff --git a/drivers/mtd/chips/map_rom.c b/drivers/mtd/chips/map_rom.c index bc6ee9e..1b328b1 100644 --- a/drivers/mtd/chips/map_rom.c +++ b/drivers/mtd/chips/map_rom.c
@@ -47,6 +47,7 @@ mtd->sync = maprom_nop; mtd->flags = MTD_CAP_ROM; mtd->erasesize = map->size; + mtd->writesize = 1; __module_get(THIS_MODULE); return mtd;