diff options
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
-rw-r--r-- | drivers/mtd/mtdconcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c index d0db5e61d5af..f694b51e7856 100644 --- a/drivers/mtd/mtdconcat.c +++ b/drivers/mtd/mtdconcat.c | |||
@@ -693,7 +693,7 @@ static int concat_block_markbad(struct mtd_info *mtd, loff_t ofs) | |||
693 | continue; | 693 | continue; |
694 | } | 694 | } |
695 | 695 | ||
696 | err = subdev->block_markbad(subdev, ofs); | 696 | err = mtd_block_markbad(subdev, ofs); |
697 | if (!err) | 697 | if (!err) |
698 | mtd->ecc_stats.badblocks++; | 698 | mtd->ecc_stats.badblocks++; |
699 | break; | 699 | break; |