aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/drivers/mtd/myloader.c2
-rw-r--r--target/linux/generic/patches-3.18/003-myloader_backport.patch11
-rw-r--r--target/linux/generic/patches-4.4/003-myloader_backport.patch11
3 files changed, 23 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/mtd/myloader.c b/target/linux/generic/files/drivers/mtd/myloader.c
index cd573690a7..7532d454ed 100644
--- a/target/linux/generic/files/drivers/mtd/myloader.c
+++ b/target/linux/generic/files/drivers/mtd/myloader.c
@@ -33,7 +33,7 @@ struct part_data {
};
static int myloader_parse_partitions(struct mtd_info *master,
- struct mtd_partition **pparts,
+ const struct mtd_partition **pparts,
struct mtd_part_parser_data *data)
{
struct part_data *buf;
diff --git a/target/linux/generic/patches-3.18/003-myloader_backport.patch b/target/linux/generic/patches-3.18/003-myloader_backport.patch
new file mode 100644
index 0000000000..846b25dc04
--- /dev/null
+++ b/target/linux/generic/patches-3.18/003-myloader_backport.patch
@@ -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;
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
index 0000000000..846b25dc04
--- /dev/null
+++ b/target/linux/generic/patches-4.4/003-myloader_backport.patch
@@ -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;