1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -723,6 +723,9 @@ static int __devinit m25p_probe(struct s
4 #ifdef CONFIG_MTD_MYLOADER_PARTS
7 +#ifdef CONFIG_MTD_REDBOOT_PARTS
12 nr_parts = parse_mtd_partitions(&flash->mtd,