Searched refs:curmtd (Results 1 – 1 of 1) sorted by relevance
131 slram_mtd_list_t **curmtd; in register_device() local133 curmtd = &slram_mtdlist; in register_device()134 while (*curmtd) { in register_device()135 curmtd = &(*curmtd)->next; in register_device()138 *curmtd = kmalloc(sizeof(slram_mtd_list_t), GFP_KERNEL); in register_device()139 if (!(*curmtd)) { in register_device()143 (*curmtd)->mtdinfo = kzalloc(sizeof(struct mtd_info), GFP_KERNEL); in register_device()144 (*curmtd)->next = NULL; in register_device()146 if ((*curmtd)->mtdinfo) { in register_device()147 (*curmtd)->mtdinfo->priv = in register_device()[all …]