Searched refs:h1910_nand_mtd (Results 1 – 1 of 1) sorted by relevance
35 static struct mtd_info *h1910_nand_mtd = NULL; variable102 h1910_nand_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); in h1910_init()103 if (!h1910_nand_mtd) { in h1910_init()110 this = (struct nand_chip *)(&h1910_nand_mtd[1]); in h1910_init()113 memset(h1910_nand_mtd, 0, sizeof(struct mtd_info)); in h1910_init()117 h1910_nand_mtd->priv = this; in h1910_init()118 h1910_nand_mtd->owner = THIS_MODULE; in h1910_init()136 if (nand_scan(h1910_nand_mtd, 1)) { in h1910_init()138 kfree(h1910_nand_mtd); in h1910_init()143 mtd_parts_nb = parse_cmdline_partitions(h1910_nand_mtd, &mtd_parts, "h1910-nand"); in h1910_init()[all …]