aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-23 09:59:58 -0400
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-23 09:59:58 -0400
commit0cddd6c258b2ed3798d12619c28ed0d2b5a669bc (patch)
tree83c6e0e55cd05a7a651701121f78140c21c22ce8
parent9a57d470fd4a77b9732fee97bed29c565c730af0 (diff)
[MTD] ECC rework broke diskonchip
Fix the diskonchip ecc setup. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/mtd/nand/diskonchip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index b771608ef84e..f77298f3af60 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -1513,7 +1513,7 @@ static inline int __init doc2001plus_init(struct mtd_info *mtd)
1513 this->hwcontrol = NULL; 1513 this->hwcontrol = NULL;
1514 this->select_chip = doc2001plus_select_chip; 1514 this->select_chip = doc2001plus_select_chip;
1515 this->cmdfunc = doc2001plus_command; 1515 this->cmdfunc = doc2001plus_command;
1516 this->enable_hwecc = doc2001plus_enable_hwecc; 1516 this->ecc.hwctl = doc2001plus_enable_hwecc;
1517 1517
1518 doc->chips_per_floor = 1; 1518 doc->chips_per_floor = 1;
1519 mtd->name = "DiskOnChip Millennium Plus"; 1519 mtd->name = "DiskOnChip Millennium Plus";