commit | 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Tue Sep 29 11:09:08 2015 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Wed Sep 30 13:26:31 2015 +1000 |
tree | 9316f9c3d5fc3918b48926a2e99335b3ce02b934 | |
parent | 8702bd1d3b430c16aaa37056cb24b6d984da48f7 [diff] |
fdt: Add functions to retrieve strings Given a device tree node, a property name and an index, the new function fdt_stringlist_get() will return a pointer to the index'th string in the property's value and return its length (or an error code on failure) in an output argument. Signed-off-by: Thierry Reding <treding@nvidia.com> [Fix some -Wshadow warnings --dwg] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>