summaryrefslogtreecommitdiffstats
path: root/include/of.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-10-14 18:24:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-22 08:55:08 +0200
commit9101c2d02ff6bebc1deaf2bcc911d3d3dd621a68 (patch)
tree915bb6eb13024fa5aac90c8e1ed53a389b333344 /include/of.h
parentcf9b0c6927126a4f6e520a242378b5166aaa87a4 (diff)
downloadbarebox-9101c2d02ff6bebc1deaf2bcc911d3d3dd621a68.tar.gz
barebox-9101c2d02ff6bebc1deaf2bcc911d3d3dd621a68.tar.xz
of: simplify phandle lookup
Instead of populating an extra list containing all phandles just iterate over the whole tree. This is done as preparation for more dynamic devicetrees where parts are loaded at runtime. Here we don't want to keep the list of phandles in sync. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r--include/of.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/of.h b/include/of.h
index e5cd7506cc..3381e69147 100644
--- a/include/of.h
+++ b/include/of.h
@@ -30,7 +30,6 @@ struct device_node {
struct list_head children;
struct list_head parent_list;
struct list_head list;
- struct list_head phandles;
phandle phandle;
};