Searched refs:ofidx (Results 1 – 1 of 1) sorted by relevance
648 int i, error, ofidx; in add_mtd_device() local687 ofidx = -1; in add_mtd_device()689 ofidx = of_alias_get_id(np, "mtd"); in add_mtd_device()690 if (ofidx >= 0) in add_mtd_device()691 i = idr_alloc(&mtd_idr, mtd, ofidx, ofidx + 1, GFP_KERNEL); in add_mtd_device()