diff options
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
-rw-r--r-- | drivers/mtd/mtdconcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c index 45215501c4c7..cf35642e5f49 100644 --- a/drivers/mtd/mtdconcat.c +++ b/drivers/mtd/mtdconcat.c | |||
@@ -273,7 +273,7 @@ concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) | |||
273 | if (from + devops.len > subdev->size) | 273 | if (from + devops.len > subdev->size) |
274 | devops.len = subdev->size - from; | 274 | devops.len = subdev->size - from; |
275 | 275 | ||
276 | err = subdev->read_oob(subdev, from, &devops); | 276 | err = mtd_read_oob(subdev, from, &devops); |
277 | ops->retlen += devops.retlen; | 277 | ops->retlen += devops.retlen; |
278 | ops->oobretlen += devops.oobretlen; | 278 | ops->oobretlen += devops.oobretlen; |
279 | 279 | ||