diff options
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 89692f898ef4..bafd2fba87bd 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -340,6 +340,7 @@ int add_mtd_partitions(struct mtd_info *master, | |||
340 | slave->mtd.oobsize = master->oobsize; | 340 | slave->mtd.oobsize = master->oobsize; |
341 | slave->mtd.ecctype = master->ecctype; | 341 | slave->mtd.ecctype = master->ecctype; |
342 | slave->mtd.eccsize = master->eccsize; | 342 | slave->mtd.eccsize = master->eccsize; |
343 | slave->mtd.subpage_sft = master->subpage_sft; | ||
343 | 344 | ||
344 | slave->mtd.name = parts[i].name; | 345 | slave->mtd.name = parts[i].name; |
345 | slave->mtd.bank_size = master->bank_size; | 346 | slave->mtd.bank_size = master->bank_size; |