[MTD] ECC rework broke diskonchip

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed May 24 05:59:02 EDT 2006


Commit:     0cddd6c258b2ed3798d12619c28ed0d2b5a669bc
Parent:     9a57d470fd4a77b9732fee97bed29c565c730af0
Author:     Thomas Gleixner <tglx at cruncher.tec.linutronix.de>
AuthorDate: Tue May 23 15:59:58 2006 +0200
Commit:     Thomas Gleixner <tglx at cruncher.tec.linutronix.de>
CommitDate: Tue May 23 15:59:58 2006 +0200

    [MTD] ECC rework broke diskonchip
    
    Fix the diskonchip ecc setup.
    
    Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

 drivers/mtd/nand/diskonchip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index b771608..f77298f 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -1513,7 +1513,7 @@ static inline int __init doc2001plus_ini
 	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";



More information about the linux-mtd-cvs mailing list