2
0
forked from Ivasoft/openwrt

kernel: update mtdsplit for linux 4.9

add backport patches for older kernels

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2017-02-01 08:06:10 +01:00
parent eccb2e5e59
commit 402193baa1
12 changed files with 300 additions and 15 deletions

View File

@@ -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;