diff options
Diffstat (limited to 'target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch')
-rw-r--r-- | target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch b/target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch index b47a621..6ca9db8 100644 --- a/target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch +++ b/target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch @@ -12,7 +12,15 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- a/drivers/mtd/redboot.c +++ b/drivers/mtd/redboot.c -@@ -289,9 +289,16 @@ static int parse_redboot_partitions(stru +@@ -29,6 +29,7 @@ + #include <linux/mtd/mtd.h> + #include <linux/mtd/partitions.h> + #include <linux/module.h> ++#include <linux/mod_devicetable.h> + + struct fis_image_desc { + unsigned char name[16]; // Null terminated name +@@ -289,9 +290,16 @@ static int parse_redboot_partitions(stru return ret; } |