summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-22 08:58:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-22 09:23:50 +0200
commit6d1788ab34c91279c1a277cb1a10f3e95a59b96e (patch)
treee80a5da51e600577bcffd7f277eb97ab2609fac7 /include
parent266dea34a53bf985ff851662309b5c07c250b4d0 (diff)
downloadbarebox-6d1788ab34c91279c1a277cb1a10f3e95a59b96e.tar.gz
barebox-6d1788ab34c91279c1a277cb1a10f3e95a59b96e.tar.xz
of: Allow multiple resources in 'reg' property
Some devices need multiple resources in the reg property. This patch adds support for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/of.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h
index 852231e7a4..9349e6a30a 100644
--- a/include/of.h
+++ b/include/of.h
@@ -26,6 +26,7 @@ struct device_node {
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;