[ar71xx] refresh patches
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.27 / 104-mtd_m25p80_add_redboot_parser.patch
1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -677,6 +677,9 @@ static int __devinit m25p_probe(struct s
4 #ifdef CONFIG_MTD_MYLOADER_PARTS
5 "MyLoader",
6 #endif
7 +#ifdef CONFIG_MTD_REDBOOT_PARTS
8 + "RedBoot",
9 +#endif
10 NULL, };
11
12 nr_parts = parse_mtd_partitions(&flash->mtd,