1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -711,12 +711,17 @@ static int __devinit m25p_probe(struct s
4 struct mtd_partition *parts = NULL;
7 + static const char *part_probes[] = {
8 #ifdef CONFIG_MTD_CMDLINE_PARTS
9 - static const char *part_probes[] = { "cmdlinepart", NULL, };
12 +#ifdef CONFIG_MTD_MYLOADER_PARTS
17 nr_parts = parse_mtd_partitions(&flash->mtd,
18 part_probes, &parts, 0);
21 if (nr_parts <= 0 && data && data->parts) {