From 402193baa155255f08944a579f1f17e016d6cac2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 1 Feb 2017 08:06:10 +0100 Subject: kernel: update mtdsplit for linux 4.9 add backport patches for older kernels Signed-off-by: Felix Fietkau --- target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c') diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c index 29f47b283e..53aebc5987 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c @@ -56,7 +56,7 @@ read_trx_header(struct mtd_info *mtd, size_t offset, static int mtdsplit_parse_trx(struct mtd_info *master, - struct mtd_partition **pparts, + const struct mtd_partition **pparts, struct mtd_part_parser_data *data) { struct mtd_partition *parts; -- cgit v1.2.3