mtdutils.c | 32 int device_index; member in struct:MtdPartition 102 p->device_index = -1; 144 p->device_index = mtdnum; 182 if (p->device_index >= 0 && p->name != NULL) { 200 sprintf(devname, "/dev/block/mtdblock%d", partition->device_index); 242 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index); 269 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index); 385 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index);
|