Searched refs:spia_mtd (Results 1 - 1 of 1) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dspia.c35 static struct mtd_info *spia_mtd = NULL; variable in typeref:struct:mtd_info
116 spia_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
117 if (!spia_mtd) {
123 this = (struct nand_chip *)(&spia_mtd[1]);
126 memset(spia_mtd, 0, sizeof(struct mtd_info));
130 spia_mtd->priv = this;
131 spia_mtd->owner = THIS_MODULE;
148 if (nand_scan(spia_mtd, 1)) {
149 kfree(spia_mtd);
154 add_mtd_partitions(spia_mtd, partition_inf
[all...]

Completed in 73 milliseconds