commit | eda95cbf75193808f62948fb0142ba0901d8bee2 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 23 17:35:41 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:25:20 2012 +0000 |
tree | 047bcfa05bc118b1d34327b3e62fa1d10d4bcb43 | |
parent | 329ad399a9b3adf52c90637b21ca029fcf7f8795 [diff] [blame] |
mtd: introduce mtd_write 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/mtdchar.c b/drivers/mtd/mtdchar.c index c7f4846..922da31 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c
@@ -331,7 +331,7 @@ } default: - ret = (*(mtd->write))(mtd, *ppos, len, &retlen, kbuf); + ret = mtd_write(mtd, *ppos, len, &retlen, kbuf); } if (!ret) { *ppos += retlen;