Give a name to the nandemul2k MTD device.
[yaffs2.git] / mtdemul / nandemul2k.c
index 15213abfa90c24ac207152ff4c3989a221cc502a..f3c1c9a853c2377f4e5476d4c493ed4fe0cc1e40 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;
 }