Home
last modified time | relevance | path

Searched refs:ppchameleon_mtd (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/mtd/nand/
Dppchameleonevb.c59 static struct mtd_info *ppchameleon_mtd = NULL; variable
213 ppchameleon_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); in ppchameleonevb_init()
214 if (!ppchameleon_mtd) { in ppchameleonevb_init()
223 kfree(ppchameleon_mtd); in ppchameleonevb_init()
228 this = (struct nand_chip *)(&ppchameleon_mtd[1]); in ppchameleonevb_init()
231 memset(ppchameleon_mtd, 0, sizeof(struct mtd_info)); in ppchameleonevb_init()
235 ppchameleon_mtd->priv = this; in ppchameleonevb_init()
236 ppchameleon_mtd->owner = THIS_MODULE; in ppchameleonevb_init()
275 if (nand_scan(ppchameleon_mtd, 1)) { in ppchameleonevb_init()
278 kfree(ppchameleon_mtd); in ppchameleonevb_init()
[all …]