int nand_isbad_bbt (struct mtd_info * mtd, loff_t offs, int allowbbt);
int nand_isbad_bbt
MTD device structure
offset in the device
allow access to bad block table region