/* mtd_ooblayout_free - Get the OOB region definition of a specific free section @mtd: MTD device structure  */
int mtd_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobfree)
/* mtd_ooblayout_free - Get the OOB region definition of a specific free section @mtd: MTD device structure  */
int mtd_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobfree)
{
	memset(oobfree, 0, sizeof(*oobfree));
	if (!mtd || section < 0)
		return -EINVAL;
	if (!mtd->ooblayout || !mtd->ooblayout->free)
		return -ENOTSUPP;
	return mtd->ooblayout->free(mtd, section, oobfree);
}