aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdconcat.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-23 18:27:05 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 18:25:23 +0000
commitfd2819bbc92fc98bed5d612e4acbe16b6326f6bf (patch)
tree114f2a130cb854c74707eb805854fe048f65ac14 /drivers/mtd/mtdconcat.c
parent7ae79d7ff1769a3e9c47076b46e4eaa11204a2ee (diff)
downloadkernel_goldelico_gta04-fd2819bbc92fc98bed5d612e4acbe16b6326f6bf.zip
kernel_goldelico_gta04-fd2819bbc92fc98bed5d612e4acbe16b6326f6bf.tar.gz
kernel_goldelico_gta04-fd2819bbc92fc98bed5d612e4acbe16b6326f6bf.tar.bz2
mtd: introduce mtd_read_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 4521550..cf35642 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)
if (from + devops.len > subdev->size)
devops.len = subdev->size - from;
- err = subdev->read_oob(subdev, from, &devops);
+ err = mtd_read_oob(subdev, from, &devops);
ops->retlen += devops.retlen;
ops->oobretlen += devops.oobretlen;