Searched refs:mtd_dev (Results 1 – 1 of 1) sorted by relevance
1111 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument1118 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()1153 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument1159 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()1160 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()1165 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()1168 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()