]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/inftlmount.c
Merge branch 'akpm' (aka "Andrew's patch-bomb")
[~andy/linux] / drivers / mtd / inftlmount.c
index 38519401196bd5752dd68636440c74f38316e761..4adc0374fb6b5736ba23cdc77f5f8ebb2bb7117b 100644 (file)
@@ -424,7 +424,7 @@ int INFTL_formatblock(struct INFTLrecord *inftl, int block)
 fail:
        /* could not format, update the bad block table (caller is responsible
           for setting the PUtable to BLOCK_RESERVED on failure) */
-       inftl->mbd.mtd->block_markbad(inftl->mbd.mtd, instr->addr);
+       mtd_block_markbad(inftl->mbd.mtd, instr->addr);
        return -1;
 }