fdt: restore board_fdt_blob_setup() declaration
authorBaruch Siach <baruch@tkos.co.il>
Sun, 28 Oct 2018 12:41:14 +0000 (14:41 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
Commit 90c08fa038451d (fdt: Add device tree memory bindings) removed the
prototype declaration of board_fdt_blob_setup(), most likely by mistake.
This didn't break the build because the only file calling this function
(lib/fdtdec.c) provides a local weak definition. Restore the
declaration.

Cc: Michael Pratt <mpratt@chromium.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h

index c26df50543a82b2266fa68cb82b6eb382e4a8530..b15da00fb28ccc8477edd90a1c174f6194a8cef9 100644 (file)
@@ -956,6 +956,7 @@ int fdtdec_setup(void);
  * Called when CONFIG_OF_BOARD is defined, or if CONFIG_OF_SEPARATE is defined
  * and the board implements it.
  */
+void *board_fdt_blob_setup(void);
 
 /*
  * Decode the size of memory