summaryrefslogtreecommitdiff
path: root/boot/image-board.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-11-08 21:03:38 +0300
committerTom Rini <trini@konsulko.com>2021-11-15 22:33:33 +0300
commit4b32531be236bbd9ca60f26447511f79e214f79e (patch)
tree1e69012365e0e0c7c45a438104d88cca1b9256b5 /boot/image-board.c
parentb5f3850727c86811767c10218b68552e63ff2a6a (diff)
downloadu-boot-4b32531be236bbd9ca60f26447511f79e214f79e.tar.xz
image: Explicitly declare do_bdinfo()
Compiler is not happy: common/image-board.c: In function ‘boot_get_kbd’: common/image-board.c:902:17: warning: implicit declaration of function ‘do_bdinfo’ [-Wimplicit-function-declaration] 902 | do_bdinfo(NULL, 0, 0, NULL); | ^~~~~~~~~ Move the forward declaration to a header. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/image-board.c')
-rw-r--r--boot/image-board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image-board.c b/boot/image-board.c
index ddf30c6730..bf8817165c 100644
--- a/boot/image-board.c
+++ b/boot/image-board.c
@@ -14,6 +14,7 @@
#include <env.h>
#include <fpga.h>
#include <image.h>
+#include <init.h>
#include <mapmem.h>
#include <rtc.h>
#include <watchdog.h>