Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / mtd / devices / ms02-nv.c
index 08dfb89..485f663 100644 (file)
@@ -219,13 +219,12 @@ static int __init ms02nv_init_one(ulong addr)
        mp->uaddr = phys_to_virt(fixaddr);
 
        mtd->type = MTD_RAM;
-       mtd->flags = MTD_CAP_RAM;
+       mtd->flags = MTD_CAP_RAM | MTD_XIP;
        mtd->size = fixsize;
        mtd->name = (char *)ms02nv_name;
        mtd->owner = THIS_MODULE;
        mtd->read = ms02nv_read;
        mtd->write = ms02nv_write;
-       mtd->writesize = 1;
 
        ret = -EIO;
        if (add_mtd_device(mtd)) {