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 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;
 }