openwrtv4/target/linux/generic/patches-4.4/003-myloader_backport.patch
Sergey Ryazanov 00639586fd kernel: update myloader for linux 4.9
add backport patches for older kernels.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
2017-06-07 17:19:48 +02:00

11 lines
325 B
Diff

--- a/drivers/mtd/myloader.c
+++ b/drivers/mtd/myloader.c
@@ -33,7 +33,7 @@ struct part_data {
};
static int myloader_parse_partitions(struct mtd_info *master,
- const struct mtd_partition **pparts,
+ struct mtd_partition **pparts,
struct mtd_part_parser_data *data)
{
struct part_data *buf;