Give a name to the nandemul2k MTD device.
[yaffs2.git] / mtdemul / nandemul2k.c
index 15213ab..f3c1c9a 100644 (file)
@@ -630,6 +630,8 @@ static int nandemul2k_scan (struct mtd_info *mtd,int nchips)
        mtd->suspend = NULL;
        mtd->resume = NULL;
 
+       mtd->name = "NANDemul2k";
+
        /* Return happy */
        return 0;
 }