aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/doc2001plus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/devices/doc2001plus.c')
-rw-r--r--drivers/mtd/devices/doc2001plus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/doc2001plus.c b/drivers/mtd/devices/doc2001plus.c
index 0dc5d108f7b5..8422c5e92d27 100644
--- a/drivers/mtd/devices/doc2001plus.c
+++ b/drivers/mtd/devices/doc2001plus.c
@@ -483,7 +483,7 @@ void DoCMilPlus_init(struct mtd_info *mtd)
483 mtd->size = 0; 483 mtd->size = 0;
484 484
485 mtd->erasesize = 0; 485 mtd->erasesize = 0;
486 mtd->oobblock = 512; 486 mtd->writesize = 512;
487 mtd->oobsize = 16; 487 mtd->oobsize = 16;
488 mtd->owner = THIS_MODULE; 488 mtd->owner = THIS_MODULE;
489 mtd->erase = doc_erase; 489 mtd->erase = doc_erase;