From: Thomas Gleixner Date: Tue, 23 May 2006 13:59:58 +0000 (+0200) Subject: [MTD] ECC rework broke diskonchip X-Git-Tag: v2.6.18-rc1~1105^2~58^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0cddd6c258b2ed3798d12619c28ed0d2b5a669bc;p=linux-2.6-omap-h63xx.git [MTD] ECC rework broke diskonchip Fix the diskonchip ecc setup. Signed-off-by: Thomas Gleixner --- diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index b771608ef84..f77298f3af6 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) 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";