aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.4/003-myloader_backport.patch
blob: 846b25dc04c42e0cb171e583cede607fcc0463dc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/mtd/myloader.c
+++ b/drivers/mtd/myloader.c
@@ -33,7 +33,7 @@ struct part_data {
 };
 
 static int myloader_parse_partitions(struct mtd_info *master,
-				     const struct mtd_partition **pparts,
+				     struct mtd_partition **pparts,
 				     struct mtd_part_parser_data *data)
 {
 	struct part_data *buf;