Searched refs:ppchameleonevb_mtd (Results 1 – 1 of 1) sorted by relevance
60 static struct mtd_info *ppchameleonevb_mtd = NULL; variable313 ppchameleonevb_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); in ppchameleonevb_init()314 if (!ppchameleonevb_mtd) { in ppchameleonevb_init()325 kfree(ppchameleonevb_mtd); in ppchameleonevb_init()332 this = (struct nand_chip *)(&ppchameleonevb_mtd[1]); in ppchameleonevb_init()335 memset(ppchameleonevb_mtd, 0, sizeof(struct mtd_info)); in ppchameleonevb_init()339 ppchameleonevb_mtd->priv = this; in ppchameleonevb_init()381 if (nand_scan(ppchameleonevb_mtd, 1)) { in ppchameleonevb_init()383 kfree(ppchameleonevb_mtd); in ppchameleonevb_init()389 ppchameleonevb_mtd->name = NAND_EVB_MTD_NAME; in ppchameleonevb_init()[all …]