From 905f3ee7fb79af91ed42275c995ca0cd04a2a3d6 Mon Sep 17 00:00:00 2001 From: Sebastian Hesselbarth Date: Tue, 18 Jun 2013 11:21:19 +0200 Subject: OF: base: sync of_find_property with linux OF API To start synchronizing OF API of barebox with linux OF API, this adds a length pointer to of_find_property. Also all current users of that function are updated to reflect the API change. Signed-off-by: Sebastian Hesselbarth --- commands/of_property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/of_property.c') diff --git a/commands/of_property.c b/commands/of_property.c index 44bb38801e..d1a9a17c55 100644 --- a/commands/of_property.c +++ b/commands/of_property.c @@ -212,7 +212,7 @@ static int do_of_property(int argc, char *argv[]) if (optind + 1 < argc) { propname = argv[optind + 1]; - pp = of_find_property(node, propname); + pp = of_find_property(node, propname, NULL); if (!set && !pp) { printf("Cannot find property %s\n", propname); return -ENOENT; -- cgit v1.2.3