Lines Matching refs:mymtd
68 static struct mtd_info *mymtd;
84 mymtd = do_map_probe("jedec_probe", &ts5500_map);
85 if (!mymtd)
86 mymtd = do_map_probe("map_rom", &ts5500_map);
88 if (!mymtd) {
93 mymtd->owner = THIS_MODULE;
94 add_mtd_partitions(mymtd, ts5500_partitions, NUM_PARTITIONS);
99 map_destroy(mymtd);
107 if (mymtd) {
108 del_mtd_partitions(mymtd);
109 map_destroy(mymtd);