aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nftlcore.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-23 11:27:05 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 13:25:23 -0500
commitfd2819bbc92fc98bed5d612e4acbe16b6326f6bf (patch)
tree114f2a130cb854c74707eb805854fe048f65ac14 /drivers/mtd/nftlcore.c
parent7ae79d7ff1769a3e9c47076b46e4eaa11204a2ee (diff)
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/nftlcore.c')
-rw-r--r--drivers/mtd/nftlcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nftlcore.c b/drivers/mtd/nftlcore.c
index 1a9d9c1d3a74..7497f5efc26b 100644
--- a/drivers/mtd/nftlcore.c
+++ b/drivers/mtd/nftlcore.c
@@ -153,7 +153,7 @@ int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
153 ops.oobbuf = buf; 153 ops.oobbuf = buf;
154 ops.datbuf = NULL; 154 ops.datbuf = NULL;
155 155
156 res = mtd->read_oob(mtd, offs & ~mask, &ops); 156 res = mtd_read_oob(mtd, offs & ~mask, &ops);
157 *retlen = ops.oobretlen; 157 *retlen = ops.oobretlen;
158 return res; 158 return res;
159} 159}