commit | 329ad399a9b3adf52c90637b21ca029fcf7f8795 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 23 17:30:16 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:25:19 2012 +0000 |
tree | 7aa7bb2609c25de7859c3a666f3ea90934609592 | |
parent | 04c601bfa4cb29c968dcb66e44c799c9c01d8675 [diff] [blame] |
mtd: introduce mtd_read interface Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/fs/logfs/dev_mtd.c b/fs/logfs/dev_mtd.c index 0463628..3ee6435 100644 --- a/fs/logfs/dev_mtd.c +++ b/fs/logfs/dev_mtd.c
@@ -20,7 +20,7 @@ size_t retlen; int ret; - ret = mtd->read(mtd, ofs, len, &retlen, buf); + ret = mtd_read(mtd, ofs, len, &retlen, buf); BUG_ON(ret == -EINVAL); if (ret) return ret;