diff mbox series

Include missing headers for fdt_support.h

Message ID fc171d1a-ac81-c9a7-b00d-03154a73eb5c@gmail.com
State Accepted
Commit 63736e9c9622147672a0782c630f529c92bcb7b5
Delegated to: Simon Glass
Headers show
Series Include missing headers for fdt_support.h | expand

Commit Message

Sean Anderson Dec. 18, 2019, 2:21 a.m. UTC
fdt_support.h is missing declarations for bd_t. Including asm/u-boot.h
pulls in the definition.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
---
 include/fdt_support.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass Jan. 10, 2020, 8:57 a.m. UTC | #1
fdt_support.h is missing declarations for bd_t. Including asm/u-boot.h
pulls in the definition.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
---
 include/fdt_support.h | 1 +
 1 file changed, 1 insertion(+)

Applied to u-boot-dm, thanks!
diff mbox series

Patch

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,