Give a name to the nandemul2k MTD device.
authorluc <luc>
Fri, 29 Jul 2005 23:51:44 +0000 (23:51 +0000)
committerluc <luc>
Fri, 29 Jul 2005 23:51:44 +0000 (23:51 +0000)
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->suspend = NULL;
        mtd->resume = NULL;
 
+       mtd->name = "NANDemul2k";
+
        /* Return happy */
        return 0;
 }
        /* Return happy */
        return 0;
 }