[PATCH] Include missing headers for fdt_support.h
Sean Anderson
seanga2 at gmail.com
Wed Dec 18 03:21:54 CET 2019
fdt_support.h is missing declarations for bd_t. Including asm/u-boot.h
pulls in the definition.
Signed-off-by: Sean Anderson <seanga2 at gmail.com>
---
include/fdt_support.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 2286ea7793..3f4bc643d4 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -9,6 +9,7 @@
#ifdef CONFIG_OF_LIBFDT
+#include <asm/u-boot.h>
#include <linux/libfdt.h>
u32 fdt_getprop_u32_default_node(const void *fdt, int off, int cell,
--
2.23.0
More information about the U-Boot
mailing list