aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/maps/edb7312.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/maps/edb7312.c b/drivers/mtd/maps/edb7312.c
index fe42a212bb3e..b07acd69277a 100644
--- a/drivers/mtd/maps/edb7312.c
+++ b/drivers/mtd/maps/edb7312.c
@@ -88,8 +88,9 @@ static int __init init_edb7312nor(void)
88 } 88 }
89 if (mymtd) { 89 if (mymtd) {
90 mymtd->owner = THIS_MODULE; 90 mymtd->owner = THIS_MODULE;
91 mymtd->name = MTDID;
91 92
92 mtd_parts_nb = parse_mtd_partitions(mymtd, probes, &mtd_parts, MTDID); 93 mtd_parts_nb = parse_mtd_partitions(mymtd, probes, &mtd_parts, 0);
93 if (mtd_parts_nb > 0) 94 if (mtd_parts_nb > 0)
94 part_type = "detected"; 95 part_type = "detected";
95 96