aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2017-05-31 00:46:42 +0300
committerJohn Crispin <john@phrozen.org>2017-06-07 17:19:48 +0200
commit00639586fd7892de41fa786bb48aaec4ed4b6e6a (patch)
treea1677d3c34243b53c5eda5ca9f0e673093ec6eab /target/linux/generic/files
parent2cc61e6e8e951b1480a024fdb66bc539aa163bbc (diff)
downloadupstream-00639586fd7892de41fa786bb48aaec4ed4b6e6a.tar.gz
upstream-00639586fd7892de41fa786bb48aaec4ed4b6e6a.tar.bz2
upstream-00639586fd7892de41fa786bb48aaec4ed4b6e6a.zip
kernel: update myloader for linux 4.9
add backport patches for older kernels. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/mtd/myloader.c2
1 files changed, 1 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;