1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -856,6 +856,16 @@ static int __devinit m25p_probe(struct s
4 part_probes, &parts, 0);
7 +#ifdef CONFIG_MTD_MYLOADER_PARTS
9 + static const char *part_probes[]
10 + = { "MyLoader", NULL, };
12 + nr_parts = parse_mtd_partitions(&flash->mtd,
13 + part_probes, &parts, 0);
17 if (nr_parts <= 0 && data && data->parts) {
19 nr_parts = data->nr_parts;