diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-13 12:04:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-13 12:04:04 +0000 |
commit | 60d3ffb49a4854b546c7899384faa0b3d5f3e402 (patch) | |
tree | 46720f1b5dc2eda4c181fa762fc57f21e36336a6 /target/linux/gemini/patches/100-mtd-physmap-try-static-partitions-first.patch | |
parent | 672ff3de6e24eb9fe42d333e93046acba74e77a0 (diff) | |
download | upstream-60d3ffb49a4854b546c7899384faa0b3d5f3e402.tar.gz upstream-60d3ffb49a4854b546c7899384faa0b3d5f3e402.tar.bz2 upstream-60d3ffb49a4854b546c7899384faa0b3d5f3e402.zip |
gemini: remove 2.6.37 support
SVN-Revision: 31700
Diffstat (limited to 'target/linux/gemini/patches/100-mtd-physmap-try-static-partitions-first.patch')
-rw-r--r-- | target/linux/gemini/patches/100-mtd-physmap-try-static-partitions-first.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/gemini/patches/100-mtd-physmap-try-static-partitions-first.patch b/target/linux/gemini/patches/100-mtd-physmap-try-static-partitions-first.patch deleted file mode 100644 index 2c085e1ce2..0000000000 --- a/target/linux/gemini/patches/100-mtd-physmap-try-static-partitions-first.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/mtd/maps/physmap.c -+++ b/drivers/mtd/maps/physmap.c -@@ -173,6 +173,13 @@ static int physmap_flash_probe(struct pl - goto err_out; - - #ifdef CONFIG_MTD_PARTITIONS -+ if (physmap_data->nr_parts) { -+ printk(KERN_NOTICE "Using physmap partition information\n"); -+ add_mtd_partitions(info->cmtd, physmap_data->parts, -+ physmap_data->nr_parts); -+ return 0; -+ } -+ - err = parse_mtd_partitions(info->cmtd, part_probe_types, - &info->parts, 0); - if (err > 0) { -@@ -180,13 +187,6 @@ static int physmap_flash_probe(struct pl - info->nr_parts = err; - return 0; - } -- -- if (physmap_data->nr_parts) { -- printk(KERN_NOTICE "Using physmap partition information\n"); -- add_mtd_partitions(info->cmtd, physmap_data->parts, -- physmap_data->nr_parts); -- return 0; -- } - #endif - - add_mtd_device(info->cmtd); |