Searched refs:mtdinfo (Results 1 – 1 of 1) sorted by relevance
63 struct mtd_info *mtdinfo; member163 (*curmtd)->mtdinfo = kmalloc(sizeof(struct mtd_info), GFP_KERNEL); in register_device()166 if ((*curmtd)->mtdinfo) { in register_device()167 memset((char *)(*curmtd)->mtdinfo, 0, sizeof(struct mtd_info)); in register_device()168 (*curmtd)->mtdinfo->priv = in register_device()171 if (!(*curmtd)->mtdinfo->priv) { in register_device()172 kfree((*curmtd)->mtdinfo); in register_device()173 (*curmtd)->mtdinfo = NULL; in register_device()175 memset((*curmtd)->mtdinfo->priv,0,sizeof(slram_priv_t)); in register_device()179 if (!(*curmtd)->mtdinfo) { in register_device()[all …]