From a3d2448fae5499356a31d71585a812ac65e7a39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 30 Jul 2018 12:06:20 +0200 Subject: kernel: add missing include to redboot.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes: drivers/mtd/redboot.c:299:34: error: array type has incomplete element type 'struct of_device_id' Fixes: 5e8b4be53177 ("kernel: add DT binding support to the mtd redboot parser") Signed-off-by: Rafał Miłecki --- .../419-mtd-redboot-add-of_match_table-with-DT-binding.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch') 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 b47a621055..6ca9db8f09 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 --- 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 + #include + #include ++#include + + struct fis_image_desc { + unsigned char name[16]; // Null terminated name +@@ -289,9 +290,16 @@ static int parse_redboot_partitions(stru return ret; } -- cgit v1.2.3