summaryrefslogtreecommitdiffstats
path: root/include/of.h
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 20:14:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-05 08:26:57 +0200
commit3c84ded0f5ac0d48abc89215dcd84cb6406c3edb (patch)
treec08cef37cd8d021a90f8701fbdbe19d64b48216f /include/of.h
parentffa50c1e608df37d984f2d4df26625fdee53c06a (diff)
downloadbarebox-3c84ded0f5ac0d48abc89215dcd84cb6406c3edb.tar.gz
barebox-3c84ded0f5ac0d48abc89215dcd84cb6406c3edb.tar.xz
OF: remove device and resource pointer from struct device_node
struct device_node has its own resources and a pointer to associated device_d. With recent platform related OF code, we can convert the only user of it and remove those pointers from struct device_node. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r--include/of.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/of.h b/include/of.h
index f33ed20bbd..f01d8544d4 100644
--- a/include/of.h
+++ b/include/of.h
@@ -30,9 +30,6 @@ struct device_node {
struct list_head children;
struct list_head parent_list;
struct list_head list;
- struct resource *resource;
- int num_resource;
- struct device_d *device;
struct list_head phandles;
phandle phandle;
};