[MTD] Initialize 'writesize'
[linux-2.6.git] / drivers / mtd / devices / pmc551.c
index 666cce1bf60c0dddea6df065f47c89cd22330ef9..f620d74f10042449ae077f632eaeacb423717f13 100644 (file)
@@ -778,7 +778,8 @@ static int __init init_pmc551(void)
                 mtd->type      = MTD_RAM;
                 mtd->name      = "PMC551 RAM board";
                 mtd->erasesize         = 0x10000;
-               mtd->owner = THIS_MODULE;
+                mtd->writesize  = 1;
+                mtd->owner = THIS_MODULE;
 
                 if (add_mtd_device(mtd)) {
                         printk(KERN_NOTICE "pmc551: Failed to register new device\n");