mtd: introduce mtd_erase interface
[deliverable/linux.git] / drivers / mtd / sm_ftl.c
index 1c9f307ae0a177c6eca1aabf1bb68ed37ce0aa0e..2f1acb1ab5e85a3ef12ac203c1fb26cd95579eab 100644 (file)
@@ -479,7 +479,7 @@ static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block,
                return -EIO;
        }
 
-       if (mtd->erase(mtd, &erase)) {
+       if (mtd_erase(mtd, &erase)) {
                sm_printk("erase of block %d in zone %d failed",
                                                        block, zone_num);
                goto error;
This page took 0.028404 seconds and 5 git commands to generate.