]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/ftl.c
mtd: introduce mtd_sync interface
[karo-tx-linux.git] / drivers / mtd / ftl.c
index d591b1d0a6c15d8d942c4a0cb11960685891353c..c9c90299c9e22d69ac98c2107bd949833417a0de 100644 (file)
@@ -651,7 +651,7 @@ static int reclaim_block(partition_t *part)
                pr_debug("ftl_cs: waiting for transfer "
                      "unit to be prepared...\n");
                if (part->mbd.mtd->sync)
-                       part->mbd.mtd->sync(part->mbd.mtd);
+                       mtd_sync(part->mbd.mtd);
            } else {
                static int ne = 0;
                if (++ne < 5)