commit | 85f2f2a809d658c15b574df02ede92090f45a1f2 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 23 19:03:12 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:25:35 2012 +0000 |
tree | 7d4ae7ca646db856aca7f2509c404b9d938fee0b | |
parent | b0a31f7b2a668f00a8d0546dfeed65fac871b2da [diff] [blame] |
mtd: introduce mtd_sync 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 86308ac..b5722ec 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c
@@ -155,7 +155,7 @@ /* Only sync if opened RW */ if ((file->f_mode & FMODE_WRITE) && mtd->sync) - mtd->sync(mtd); + mtd_sync(mtd); iput(mfi->ino);