kernel: backport mtd patch for minor partitioning cleanup

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki
2018-05-12 23:12:32 +02:00
parent a3096b4b33
commit 070693477a
14 changed files with 364 additions and 28 deletions

View File

@@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -800,6 +800,17 @@ run_parsers_by_type(struct mtd_part *sla
@@ -787,6 +787,17 @@ run_parsers_by_type(struct mtd_part *sla
return nr_parts;
}
@@ -29,7 +29,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
#ifdef CONFIG_MTD_SPLIT_FIRMWARE_NAME
#define SPLIT_FIRMWARE_NAME CONFIG_MTD_SPLIT_FIRMWARE_NAME
#else
@@ -1242,6 +1253,24 @@ int mtd_is_partition(const struct mtd_in
@@ -1230,6 +1241,24 @@ int mtd_is_partition(const struct mtd_in
}
EXPORT_SYMBOL_GPL(mtd_is_partition);