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