mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
[MTD] ECC rework broke diskonchip
Fix the diskonchip ecc setup. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
9a57d470fd
commit
0cddd6c258
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user