aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ssfdc.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/ssfdc.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/ssfdc.c')
-rw-r--r--drivers/mtd/ssfdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c
index 293e22a5710f..0e6881338357 100644
--- a/drivers/mtd/ssfdc.c
+++ b/drivers/mtd/ssfdc.c
@@ -175,7 +175,7 @@ static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf)
175 ops.oobbuf = buf; 175 ops.oobbuf = buf;
176 ops.datbuf = NULL; 176 ops.datbuf = NULL;
177 177
178 ret = mtd->read_oob(mtd, offs, &ops); 178 ret = mtd_read_oob(mtd, offs, &ops);
179 if (ret < 0 || ops.oobretlen != OOB_SIZE) 179 if (ret < 0 || ops.oobretlen != OOB_SIZE)
180 return -1; 180 return -1;
181 181