]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Explicitly declare do_bdinfo()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 Nov 2021 18:03:38 +0000 (21:03 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 15 Nov 2021 19:33:33 +0000 (14:33 -0500)
commit4b32531be236bbd9ca60f26447511f79e214f79e
tree1e69012365e0e0c7c45a438104d88cca1b9256b5
parentb5f3850727c86811767c10218b68552e63ff2a6a
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>
boot/image-board.c
boot/image.c
include/init.h