/* onenand_block_isbad_nolock -  Check if a block is marked bad  */
static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt)
/* onenand_block_isbad_nolock -  Check if a block is marked bad  */
static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt)
{
	struct onenand_chip *this = mtd->priv;
	struct bbm_info *bbm = this->bbm;
	return bbm->isbad_bbt(mtd, ofs, allowbbt);
}