From 4984de2baaaf82bfc9416e9cdbd3040b97856950 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 17:18:10 -0600 Subject: dm: core: Add ofnode to represent device tree nodes With live tree we need a struct device_node * to reference a node. With the existing flat tree, we need an int offset. We need to unify these into a single value which can represent both. Add an ofnode union for this and adjust existing code to move to this. Signed-off-by: Simon Glass --- include/dm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/dm.h') diff --git a/include/dm.h b/include/dm.h index 84f789d807..e634814d74 100644 --- a/include/dm.h +++ b/include/dm.h @@ -7,6 +7,7 @@ #ifndef _DM_H_ #define _DM_H_ +#include #include #include #include -- cgit v1.2.3