diff options
author | Jonas Gorski <jogo@openwrt.org> | 2012-04-17 12:50:54 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2012-04-17 12:50:54 +0000 |
commit | ee4c47a134723b78162f9f5eedc9f132dd19f6b7 (patch) | |
tree | 34e93dc39c40a016b3bf5539f7de92400e114a9b /target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch | |
parent | cfe30549a16b84e0d7caebd94fd7c2b81261de1a (diff) | |
download | mtk-20170518-ee4c47a134723b78162f9f5eedc9f132dd19f6b7.zip mtk-20170518-ee4c47a134723b78162f9f5eedc9f132dd19f6b7.tar.gz mtk-20170518-ee4c47a134723b78162f9f5eedc9f132dd19f6b7.tar.bz2 |
kernel: update linux 3.2 to 3.2.15
SVN-Revision: 31335
Diffstat (limited to 'target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch b/target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch deleted file mode 100644 index 6963771..0000000 --- a/target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 1427dd3518e0c950c612157a67e56069000cd29c Mon Sep 17 00:00:00 2001 -From: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> -Date: Fri, 17 Feb 2012 22:32:18 +0100 -Subject: [PATCH 03/73] MTD: MIPS: lantiq: reintroduce support for cmdline - partitions - -Since commit ca97dec2ab5c87e9fbdf7e882e1820004a3966fa the -command line parsing of MTD partitions does not work anymore. - -Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> -Signed-off-by: John Crispin <blogic@openwrt.org> ---- - drivers/mtd/maps/lantiq-flash.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c -index 4f10e27..764d468 100644 ---- a/drivers/mtd/maps/lantiq-flash.c -+++ b/drivers/mtd/maps/lantiq-flash.c -@@ -45,6 +45,7 @@ struct ltq_mtd { - }; - - static char ltq_map_name[] = "ltq_nor"; -+static const char *ltq_probe_types[] __devinitconst = { "cmdlinepart", NULL }; - - static map_word - ltq_read16(struct map_info *map, unsigned long adr) -@@ -168,7 +169,7 @@ ltq_mtd_probe(struct platform_device *pdev) - cfi->addr_unlock1 ^= 1; - cfi->addr_unlock2 ^= 1; - -- err = mtd_device_parse_register(ltq_mtd->mtd, NULL, 0, -+ err = mtd_device_parse_register(ltq_mtd->mtd, ltq_probe_types, 0, - ltq_mtd_data->parts, ltq_mtd_data->nr_parts); - if (err) { - dev_err(&pdev->dev, "failed to add partitions\n"); --- -1.7.9.1 - |