aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-01 08:06:10 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-03 12:35:44 +0100
commit402193baa155255f08944a579f1f17e016d6cac2 (patch)
treeef7d78b5a07148968bc109076543f4a7cfcf7723 /target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c
parenteccb2e5e59f01dcd5a70c390e934f11b62e7dce8 (diff)
downloadupstream-402193baa155255f08944a579f1f17e016d6cac2.tar.gz
upstream-402193baa155255f08944a579f1f17e016d6cac2.tar.bz2
upstream-402193baa155255f08944a579f1f17e016d6cac2.zip
kernel: update mtdsplit for linux 4.9
add backport patches for older kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c')
-rw-r--r--target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c
index c1fbccbd25..c0e897777d 100644
--- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c
+++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c
@@ -40,8 +40,8 @@ struct wrgg03_header {
static int mtdsplit_parse_wrgg(struct mtd_info *master,
- struct mtd_partition **pparts,
- struct mtd_part_parser_data *data)
+ const struct mtd_partition **pparts,
+ struct mtd_part_parser_data *data)
{
struct wrgg03_header hdr;
size_t hdr_len, retlen, kernel_ent_size;