Include missing headers for fdt_support.h
authorSean Anderson <seanga2@gmail.com>
Wed, 18 Dec 2019 02:21:54 +0000 (21:21 -0500)
committerSimon Glass <sjg@chromium.org>
Tue, 7 Jan 2020 23:02:39 +0000 (16:02 -0700)
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

index 2286ea7793924809bcbfe9f1e482889c44bda0d3..3f4bc643d4453b394523a082c5dea65b118c162f 100644 (file)
@@ -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,