[PATCH 10/10] of: drop undefined fdt_get_tree declaration

Ahmad Fatoum a.fatoum at pengutronix.de
Wed May 28 03:50:46 PDT 2025


We don't use this anywhere, so drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/of.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/of.h b/include/of.h
index f08ac8ccca69..2258cd501b72 100644
--- a/include/of.h
+++ b/include/of.h
@@ -78,8 +78,6 @@ bool of_match(struct device *dev, const struct driver *drv);
 int of_add_initrd(struct device_node *root, resource_size_t start,
 		resource_size_t end);
 
-struct fdt_header *fdt_get_tree(void);
-
 /* Helper to read a big number; size is in cells (not bytes) */
 static inline u64 of_read_number(const __be32 *cell, int size)
 {
-- 
2.39.5




More information about the barebox mailing list