diff options
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r-- | drivers/mtd/devices/doc2000.c | 1 | ||||
-rw-r--r-- | drivers/mtd/devices/doc2001.c | 1 | ||||
-rw-r--r-- | drivers/mtd/devices/doc2001plus.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/devices/doc2000.c b/drivers/mtd/devices/doc2000.c index 603a7951ac9b..8a0c4dec6351 100644 --- a/drivers/mtd/devices/doc2000.c +++ b/drivers/mtd/devices/doc2000.c | |||
@@ -569,7 +569,6 @@ void DoC2k_init(struct mtd_info *mtd) | |||
569 | 569 | ||
570 | mtd->type = MTD_NANDFLASH; | 570 | mtd->type = MTD_NANDFLASH; |
571 | mtd->flags = MTD_CAP_NANDFLASH; | 571 | mtd->flags = MTD_CAP_NANDFLASH; |
572 | mtd->ecctype = MTD_ECC_RS_DiskOnChip; | ||
573 | mtd->size = 0; | 572 | mtd->size = 0; |
574 | mtd->erasesize = 0; | 573 | mtd->erasesize = 0; |
575 | mtd->writesize = 512; | 574 | mtd->writesize = 512; |
diff --git a/drivers/mtd/devices/doc2001.c b/drivers/mtd/devices/doc2001.c index 0e2a9326f717..22a3b9e6aaaf 100644 --- a/drivers/mtd/devices/doc2001.c +++ b/drivers/mtd/devices/doc2001.c | |||
@@ -349,7 +349,6 @@ void DoCMil_init(struct mtd_info *mtd) | |||
349 | 349 | ||
350 | mtd->type = MTD_NANDFLASH; | 350 | mtd->type = MTD_NANDFLASH; |
351 | mtd->flags = MTD_CAP_NANDFLASH; | 351 | mtd->flags = MTD_CAP_NANDFLASH; |
352 | mtd->ecctype = MTD_ECC_RS_DiskOnChip; | ||
353 | mtd->size = 0; | 352 | mtd->size = 0; |
354 | 353 | ||
355 | /* FIXME: erase size is not always 8KiB */ | 354 | /* FIXME: erase size is not always 8KiB */ |
diff --git a/drivers/mtd/devices/doc2001plus.c b/drivers/mtd/devices/doc2001plus.c index 92dbb47f2ac3..01185593b2c2 100644 --- a/drivers/mtd/devices/doc2001plus.c +++ b/drivers/mtd/devices/doc2001plus.c | |||
@@ -473,7 +473,6 @@ void DoCMilPlus_init(struct mtd_info *mtd) | |||
473 | 473 | ||
474 | mtd->type = MTD_NANDFLASH; | 474 | mtd->type = MTD_NANDFLASH; |
475 | mtd->flags = MTD_CAP_NANDFLASH; | 475 | mtd->flags = MTD_CAP_NANDFLASH; |
476 | mtd->ecctype = MTD_ECC_RS_DiskOnChip; | ||
477 | mtd->size = 0; | 476 | mtd->size = 0; |
478 | 477 | ||
479 | mtd->erasesize = 0; | 478 | mtd->erasesize = 0; |