summaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-09-11 15:41:30 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2018-09-13 11:39:03 +1000
commit361b5e7d80673e7d3613cfdf989449013bf109a0 (patch)
tree44c4fe5907680d39b62e87be7fbf00cd2cc81415 /dtc.h
parentbfbfab047e45445dd59bcdba98b61843e086d0d2 (diff)
downloaddevice-tree-compiler-361b5e7d80673e7d3613cfdf989449013bf109a0.tar.gz
Make type_marker_length helper public
Make type_marker_length available to other users of TYPE_* markers. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
-rw-r--r--dtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dtc.h b/dtc.h
index 51c03ef..bb769d2 100644
--- a/dtc.h
+++ b/dtc.h
@@ -108,6 +108,8 @@ struct data {
for_each_marker(m) \
if ((m)->type == (t))
+size_t type_marker_length(struct marker *m);
+
void data_free(struct data d);
struct data data_grow_for(struct data d, int xlen);