diff options
Diffstat (limited to 'drivers/mtd/nftlmount.c')
-rw-r--r-- | drivers/mtd/nftlmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nftlmount.c b/drivers/mtd/nftlmount.c index 156af9f87961..51b9d6af307f 100644 --- a/drivers/mtd/nftlmount.c +++ b/drivers/mtd/nftlmount.c | |||
@@ -356,7 +356,7 @@ int NFTL_formatblock(struct NFTLrecord *nftl, int block) | |||
356 | fail: | 356 | fail: |
357 | /* could not format, update the bad block table (caller is responsible | 357 | /* could not format, update the bad block table (caller is responsible |
358 | for setting the ReplUnitTable to BLOCK_RESERVED on failure) */ | 358 | for setting the ReplUnitTable to BLOCK_RESERVED on failure) */ |
359 | nftl->mbd.mtd->block_markbad(nftl->mbd.mtd, instr->addr); | 359 | mtd_block_markbad(nftl->mbd.mtd, instr->addr); |
360 | return -1; | 360 | return -1; |
361 | } | 361 | } |
362 | 362 | ||