diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-06-18 11:21:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-20 17:18:01 +0200 |
commit | 905f3ee7fb79af91ed42275c995ca0cd04a2a3d6 (patch) | |
tree | e0fedd24976a5d6bd008034dc968dd0a8fa8cc19 /commands | |
parent | 03e0e78bf6b436d9e52c97ddfa9dec7a11f9b67b (diff) | |
download | barebox-905f3ee7fb79af91ed42275c995ca0cd04a2a3d6.tar.gz barebox-905f3ee7fb79af91ed42275c995ca0cd04a2a3d6.tar.xz |
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 <sebastian.hesselbarth@gmail.com>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/of_property.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |