|
@@ -533,7 +533,7 @@ static struct mtd_part *allocate_partition(struct mtd_info *master,
|
|
part->name);
|
|
part->name);
|
|
}
|
|
}
|
|
|
|
|
|
- slave->mtd.ecclayout = master->ecclayout;
|
|
|
|
|
|
+ mtd_set_ecclayout(&slave->mtd, master->ecclayout);
|
|
slave->mtd.ecc_step_size = master->ecc_step_size;
|
|
slave->mtd.ecc_step_size = master->ecc_step_size;
|
|
slave->mtd.ecc_strength = master->ecc_strength;
|
|
slave->mtd.ecc_strength = master->ecc_strength;
|
|
slave->mtd.bitflip_threshold = master->bitflip_threshold;
|
|
slave->mtd.bitflip_threshold = master->bitflip_threshold;
|