kernel: update myloader for linux 4.9
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 003-myloader_backport.patch
diff --git a/target/linux/generic/patches-4.4/003-myloader_backport.patch b/target/linux/generic/patches-4.4/003-myloader_backport.patch
new file mode 100644 (file)
index 0000000..846b25d
--- /dev/null
@@ -0,0 +1,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;