aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorChris Paulson-Ellis <chris@edesix.com>2007-10-12 05:54:06 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-10-14 08:38:02 -0400
commita2e1b833d9e0231d67e722b7e2f4d79daf919baf (patch)
tree75a1cc03e6cfc5ec629d65127a4c1b549247959d /drivers/mtd
parent3cd3a86b6fdcb80ad097850a0990bcf6251422fe (diff)
[MTD] fix mtdconcat for subpage-write NAND
This allows the mtdconcat driver to work with NAND flash devices that support sub-page writes. Signed-off-by: Chris Paulson-Ellis <chris@edesix.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtdconcat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c
index 96be7ef62f3..d563dcd4b26 100644
--- a/drivers/mtd/mtdconcat.c
+++ b/drivers/mtd/mtdconcat.c
@@ -726,6 +726,7 @@ struct mtd_info *mtd_concat_create(struct mtd_info *subdev[], /* subdevices to c
726 concat->mtd.size = subdev[0]->size; 726 concat->mtd.size = subdev[0]->size;
727 concat->mtd.erasesize = subdev[0]->erasesize; 727 concat->mtd.erasesize = subdev[0]->erasesize;
728 concat->mtd.writesize = subdev[0]->writesize; 728 concat->mtd.writesize = subdev[0]->writesize;
729 concat->mtd.subpage_sft = subdev[0]->subpage_sft;
729 concat->mtd.oobsize = subdev[0]->oobsize; 730 concat->mtd.oobsize = subdev[0]->oobsize;
730 concat->mtd.oobavail = subdev[0]->oobavail; 731 concat->mtd.oobavail = subdev[0]->oobavail;
731 if (subdev[0]->writev) 732 if (subdev[0]->writev)