diff options
Diffstat (limited to 'drivers/mtd/rfd_ftl.c')
-rw-r--r-- | drivers/mtd/rfd_ftl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/rfd_ftl.c b/drivers/mtd/rfd_ftl.c index 73ae217a4252..39de8727a524 100644 --- a/drivers/mtd/rfd_ftl.c +++ b/drivers/mtd/rfd_ftl.c | |||
@@ -342,7 +342,7 @@ static int erase_block(struct partition *part, int block) | |||
342 | part->blocks[block].state = BLOCK_ERASING; | 342 | part->blocks[block].state = BLOCK_ERASING; |
343 | part->blocks[block].free_sectors = 0; | 343 | part->blocks[block].free_sectors = 0; |
344 | 344 | ||
345 | rc = part->mbd.mtd->erase(part->mbd.mtd, erase); | 345 | rc = mtd_erase(part->mbd.mtd, erase); |
346 | 346 | ||
347 | if (rc) { | 347 | if (rc) { |
348 | printk(KERN_ERR PREFIX "erase of region %llx,%llx on '%s' " | 348 | printk(KERN_ERR PREFIX "erase of region %llx,%llx on '%s' " |