]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] ECC rework broke diskonchip
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 13:59:58 +0000 (15:59 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 13:59:58 +0000 (15:59 +0200)
Fix the diskonchip ecc setup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/diskonchip.c

index b771608ef84ea81f982e7b589caf2c594275a4a5..f77298f3af605729062d9917ac9b2fd4e06cd6a9 100644 (file)
@@ -1513,7 +1513,7 @@ static inline int __init doc2001plus_init(struct mtd_info *mtd)
        this->hwcontrol = NULL;
        this->select_chip = doc2001plus_select_chip;
        this->cmdfunc = doc2001plus_command;
-       this->enable_hwecc = doc2001plus_enable_hwecc;
+       this->ecc.hwctl = doc2001plus_enable_hwecc;
 
        doc->chips_per_floor = 1;
        mtd->name = "DiskOnChip Millennium Plus";