commit | fd2819bbc92fc98bed5d612e4acbe16b6326f6bf | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 23 18:27:05 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:25:23 2012 +0000 |
tree | 114f2a130cb854c74707eb805854fe048f65ac14 | |
parent | 7ae79d7ff1769a3e9c47076b46e4eaa11204a2ee [diff] [blame] |
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>
diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c index 293e22a..0e68813 100644 --- a/drivers/mtd/ssfdc.c +++ b/drivers/mtd/ssfdc.c
@@ -175,7 +175,7 @@ ops.oobbuf = buf; ops.datbuf = NULL; - ret = mtd->read_oob(mtd, offs, &ops); + ret = mtd_read_oob(mtd, offs, &ops); if (ret < 0 || ops.oobretlen != OOB_SIZE) return -1;