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>
This commit is contained in:
Rob Herring 2018-09-11 15:41:30 -05:00 committed by David Gibson
parent bfbfab047e
commit 361b5e7d80
2 changed files with 3 additions and 1 deletions

View file

@ -145,7 +145,7 @@ static struct marker *next_type_marker(struct marker *m)
return m;
}
static size_t type_marker_length(struct marker *m)
size_t type_marker_length(struct marker *m)
{
struct marker *next = next_type_marker(m->next);