aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdconcat.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-23 11:29:55 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 13:25:24 -0500
commita2cc5ba075f9bc837d0b4d4ec7328dcefc11859d (patch)
treea5f2c88ddd21028247bfaf02ca336dd501ed3a5f /drivers/mtd/mtdconcat.c
parentfd2819bbc92fc98bed5d612e4acbe16b6326f6bf (diff)
mtd: introduce mtd_write_oob interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
-rw-r--r--drivers/mtd/mtdconcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c
index cf35642e5f49..3d9c1ffdbbbf 100644
--- a/drivers/mtd/mtdconcat.c
+++ b/drivers/mtd/mtdconcat.c
@@ -333,7 +333,7 @@ concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops)
333 if (to + devops.len > subdev->size) 333 if (to + devops.len > subdev->size)
334 devops.len = subdev->size - to; 334 devops.len = subdev->size - to;
335 335
336 err = subdev->write_oob(subdev, to, &devops); 336 err = mtd_write_oob(subdev, to, &devops);
337 ops->retlen += devops.oobretlen; 337 ops->retlen += devops.oobretlen;
338 if (err) 338 if (err)
339 return err; 339 return err;