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/mtdswap.c b/drivers/mtd/mtdswap.c index 8579739..cb794e7 100644 --- a/drivers/mtd/mtdswap.c +++ b/drivers/mtd/mtdswap.c
@@ -1048,7 +1048,7 @@ struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev); if (d->mtd->sync) - d->mtd->sync(d->mtd); + mtd_sync(d->mtd); return 0; }