diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-12-23 12:37:38 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 13:25:48 -0500 |
commit | 5942ddbc500d1c9b75e571b656be97f65b26adfe (patch) | |
tree | 7e96cfb905fb67bc40e1da30eb8454d674353a36 /drivers/mtd/inftlmount.c | |
parent | 7086c19d07429d697057587caf1e5e0345442d16 (diff) |
mtd: introduce mtd_block_markbad interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/inftlmount.c')
-rw-r--r-- | drivers/mtd/inftlmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/inftlmount.c b/drivers/mtd/inftlmount.c index 38519401196b..4adc0374fb6b 100644 --- a/drivers/mtd/inftlmount.c +++ b/drivers/mtd/inftlmount.c | |||
@@ -424,7 +424,7 @@ int INFTL_formatblock(struct INFTLrecord *inftl, int block) | |||
424 | fail: | 424 | fail: |
425 | /* could not format, update the bad block table (caller is responsible | 425 | /* could not format, update the bad block table (caller is responsible |
426 | for setting the PUtable to BLOCK_RESERVED on failure) */ | 426 | for setting the PUtable to BLOCK_RESERVED on failure) */ |
427 | inftl->mbd.mtd->block_markbad(inftl->mbd.mtd, instr->addr); | 427 | mtd_block_markbad(inftl->mbd.mtd, instr->addr); |
428 | return -1; | 428 | return -1; |
429 | } | 429 | } |
430 | 430 | ||