Skip to content

Commit

Permalink
[MTD] ECC rework broke diskonchip
Browse files Browse the repository at this point in the history
Fix the diskonchip ecc setup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed May 23, 2006
1 parent 9a57d47 commit 0cddd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/diskonchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 0cddd6c

Please sign in to comment.