[PATCH] fdtdec.h: Remove gurads around fdtdec_resetup function

Tom Rini trini at konsulko.com
Wed Feb 16 20:19:20 CET 2022


This function has not been conditionally compiled for some time, so
remove the incorrect guards around the declaration.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/fdtdec.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/fdtdec.h b/include/fdtdec.h
index 4b0b505773dd..12355afd7fa1 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -1169,7 +1169,6 @@ int fdtdec_setup(void);
  */
 int fdtdec_board_setup(const void *fdt_blob);
 
-#if CONFIG_IS_ENABLED(MULTI_DTB_FIT)
 /**
  * fdtdec_resetup()  - Set up the device tree again
  *
@@ -1188,7 +1187,6 @@ int fdtdec_board_setup(const void *fdt_blob);
  * Return: 0 if OK, -ve on error
  */
 int fdtdec_resetup(int *rescan);
-#endif
 
 /**
  * Board-specific FDT initialization. Returns the address to a device tree blob.
-- 
2.25.1



More information about the U-Boot mailing list