diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-02-01 08:06:10 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-03 12:35:44 +0100 |
commit | 402193baa155255f08944a579f1f17e016d6cac2 (patch) | |
tree | ef7d78b5a07148968bc109076543f4a7cfcf7723 /target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c | |
parent | eccb2e5e59f01dcd5a70c390e934f11b62e7dce8 (diff) | |
download | mtk-20170518-402193baa155255f08944a579f1f17e016d6cac2.zip mtk-20170518-402193baa155255f08944a579f1f17e016d6cac2.tar.gz mtk-20170518-402193baa155255f08944a579f1f17e016d6cac2.tar.bz2 |
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_tplink.c')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c index d0cb381..3a50250 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c @@ -83,8 +83,8 @@ struct tplink_fw_header { }; static int mtdsplit_parse_tplink(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 tplink_fw_header hdr; size_t hdr_len, retlen, kernel_size; |