diff options
Diffstat (limited to 'drivers/mtd/devices/doc2001.c')
-rw-r--r-- | drivers/mtd/devices/doc2001.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/doc2001.c b/drivers/mtd/devices/doc2001.c index 1670eb8b9755..e6eaef28a2b0 100644 --- a/drivers/mtd/devices/doc2001.c +++ b/drivers/mtd/devices/doc2001.c | |||
@@ -361,7 +361,7 @@ void DoCMil_init(struct mtd_info *mtd) | |||
361 | /* FIXME: erase size is not always 8KiB */ | 361 | /* FIXME: erase size is not always 8KiB */ |
362 | mtd->erasesize = 0x2000; | 362 | mtd->erasesize = 0x2000; |
363 | 363 | ||
364 | mtd->oobblock = 512; | 364 | mtd->writesize = 512; |
365 | mtd->oobsize = 16; | 365 | mtd->oobsize = 16; |
366 | mtd->owner = THIS_MODULE; | 366 | mtd->owner = THIS_MODULE; |
367 | mtd->erase = doc_erase; | 367 | mtd->erase = doc_erase; |