Commit c0ed918e authored by Russell King's avatar Russell King

[MTD] mtdblock devices are called mtdblock%d not mtd%d

parent 0d5e4e13
......@@ -551,7 +551,7 @@ static void mtd_notify_add(struct mtd_info* mtd)
disk->major = MAJOR_NR;
disk->first_minor = mtd->index;
disk->fops = &mtd_fops;
sprintf(disk->disk_name, "mtd%d", mtd->index);
sprintf(disk->disk_name, "mtdblock%d", mtd->index);
mtddisk[mtd->index] = disk;
set_capacity(disk, mtd->size / 512);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment