From 070693477a26a40fdf5de2316bc72073dc9930c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sat, 12 May 2018 23:12:32 +0200 Subject: kernel: backport mtd patch for minor partitioning cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki --- .../161-mtd-part-add-generic-parsing-of-linux-part-probe.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch') diff --git a/target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch b/target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch index 5f0fa3a418..e2a0e4887d 100644 --- a/target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch +++ b/target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch @@ -114,7 +114,7 @@ Signed-off-by: Hauke Mehrtens #include #include -@@ -856,6 +857,42 @@ void deregister_mtd_parser(struct mtd_pa +@@ -843,6 +844,42 @@ void deregister_mtd_parser(struct mtd_pa EXPORT_SYMBOL_GPL(deregister_mtd_parser); /* @@ -157,8 +157,8 @@ Signed-off-by: Hauke Mehrtens * Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you * are changing this array! */ -@@ -999,6 +1036,13 @@ int parse_mtd_partitions(struct mtd_info - { +@@ -983,6 +1020,13 @@ int parse_mtd_partitions(struct mtd_info + struct mtd_partitions pparts = { }; struct mtd_part_parser *parser; int ret, err = 0; + const char *const *types_of = NULL; @@ -171,7 +171,7 @@ Signed-off-by: Hauke Mehrtens if (!types) types = default_mtd_part_types; -@@ -1035,6 +1079,7 @@ int parse_mtd_partitions(struct mtd_info +@@ -1023,6 +1067,7 @@ int parse_mtd_partitions(struct mtd_info if (ret < 0 && !err) err = ret; } -- cgit v1.2.3