diff options
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index b6b218952d49..6d7639b98eab 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -434,7 +434,7 @@ int add_mtd_partitions(struct mtd_info *master, | |||
434 | parts[i].name); | 434 | parts[i].name); |
435 | } | 435 | } |
436 | 436 | ||
437 | slave->mtd.oobinfo = master->oobinfo; | 437 | slave->mtd.ecclayout = master->ecclayout; |
438 | 438 | ||
439 | if(parts[i].mtdp) | 439 | if(parts[i].mtdp) |
440 | { /* store the object pointer (caller may or may not register it */ | 440 | { /* store the object pointer (caller may or may not register it */ |