add experimental support for 2.6.30
[openwrt/openwrt.git] / target / linux / ar7 / patches-2.6.30 / 110-flash.patch
1 --- a/drivers/mtd/maps/physmap.c
2 +++ b/drivers/mtd/maps/physmap.c
3 @@ -80,7 +80,7 @@ static const char *rom_probe_types[] = {
4 "map_rom",
5 NULL };
6 #ifdef CONFIG_MTD_PARTITIONS
7 -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
8 +static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "ar7part", NULL };
9 #endif
10
11 static int physmap_flash_probe(struct platform_device *dev)