[PATCH 3/4] dm: add missing includes in dm/of_addr.h
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Wed Dec 31 20:10:53 CET 2025
Includes like dm/of_addr.h should be usable without having to add #include
statements for prerequisite includes.
Add the missing includes in dm/of_addr.h.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
include/dm/of_addr.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/dm/of_addr.h b/include/dm/of_addr.h
index 5fb5a4855b4..8c96cb5f606 100644
--- a/include/dm/of_addr.h
+++ b/include/dm/of_addr.h
@@ -9,6 +9,10 @@
#ifndef _DM_OF_ADDR_H
#define _DM_OF_ADDR_H
+#include <asm/types.h>
+#include <dm/of.h>
+#include <linux/types.h>
+
/**
* of_translate_address() - translate a device-tree address to a CPU address
*
--
2.51.0
More information about the U-Boot
mailing list