[MTD] Initialize 'writesize'
[linux-2.6.git] / drivers / mtd / devices / ms02-nv.c
index 4ab7670770e43ff1cc9a0d855b872e1c22656f1e..08dfb899b27204ef036e693826643bd6452d8f38 100644 (file)
@@ -225,6 +225,7 @@ static int __init ms02nv_init_one(ulong addr)
        mtd->owner = THIS_MODULE;
        mtd->read = ms02nv_read;
        mtd->write = ms02nv_write;
+       mtd->writesize = 1;
 
        ret = -EIO;
        if (add_mtd_device(mtd)) {