kernel: backport mtd patch for minor partitioning cleanup
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rafał Miłecki
					Rafał Miłecki