diff options
author | Artem B. Bityutskiy <dedekind@sauron.oktetlabs.ru> | 2006-06-22 16:15:48 +0200 |
---|---|---|
committer | Artem B. Bityutskiy <dedekind@sauron.oktetlabs.ru> | 2006-06-22 16:15:48 +0200 |
commit | 17ffc7ba6d7ea68b8d5f55a5ca1b87163e69720d (patch) | |
tree | a7b8595492f38425a971d8e212ce367fb0bebb4a /drivers/mtd/devices/pmc551.c | |
parent | [MTD] NAND: ndfc fix address offset thinko (diff) | |
download | linux-17ffc7ba6d7ea68b8d5f55a5ca1b87163e69720d.tar.xz linux-17ffc7ba6d7ea68b8d5f55a5ca1b87163e69720d.zip |
[MTD] Initialize 'writesize'
Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Diffstat (limited to 'drivers/mtd/devices/pmc551.c')
-rw-r--r-- | drivers/mtd/devices/pmc551.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c index 666cce1bf60c..f620d74f1004 100644 --- a/drivers/mtd/devices/pmc551.c +++ b/drivers/mtd/devices/pmc551.c @@ -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"); |