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 <[email protected]>
---
 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

Reply via email to