All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fdtdec.h: Remove gurads around fdtdec_resetup function
@ 2022-02-16 19:19 Tom Rini
  0 siblings, 0 replies; only message in thread
From: Tom Rini @ 2022-02-16 19:19 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Tom Rini <trini@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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-16 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 19:19 [PATCH] fdtdec.h: Remove gurads around fdtdec_resetup function Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.