commit | 8702bd1d3b430c16aaa37056cb24b6d984da48f7 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Tue Sep 29 11:09:07 2015 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Wed Sep 30 13:26:18 2015 +1000 |
tree | 493d160bb2e58dc6098d97cc806f1b77af535e7b | |
parent | 2218387a8cb9270a688775350a07b02db6d03103 [diff] |
fdt: Add a function to get the index of a string The new fdt_stringlist_search() function will look up a given string in the list contained in the value of a named property of a given device tree node and return its index. Signed-off-by: Thierry Reding <treding@nvidia.com> [Fix some -Wshadow warnings --dwg] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>