]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/chips/map_rom.c
Remove obsolete #include <linux/config.h>
[linux-2.6-omap-h63xx.git] / drivers / mtd / chips / map_rom.c
index bc6ee9ef8a31ac8d6a44ef054d9d0a33d9dc9a23..1b328b1378fda2d9d288d535434a7113a7262d74 100644 (file)
@@ -47,6 +47,7 @@ static struct mtd_info *map_rom_probe(struct map_info *map)
        mtd->sync = maprom_nop;
        mtd->flags = MTD_CAP_ROM;
        mtd->erasesize = map->size;
+       mtd->writesize = 1;
 
        __module_get(THIS_MODULE);
        return mtd;