mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
kernel: update myloader for linux 4.9
add backport patches for older kernels. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
This commit is contained in:
parent
2cc61e6e8e
commit
00639586fd
@ -33,7 +33,7 @@ struct part_data {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static int myloader_parse_partitions(struct mtd_info *master,
|
static int myloader_parse_partitions(struct mtd_info *master,
|
||||||
struct mtd_partition **pparts,
|
const struct mtd_partition **pparts,
|
||||||
struct mtd_part_parser_data *data)
|
struct mtd_part_parser_data *data)
|
||||||
{
|
{
|
||||||
struct part_data *buf;
|
struct part_data *buf;
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
--- 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;
|
11
target/linux/generic/patches-4.4/003-myloader_backport.patch
Normal file
11
target/linux/generic/patches-4.4/003-myloader_backport.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- 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;
|
Loading…
x
Reference in New Issue
Block a user