Commit 8702bd1d authored by Thierry Reding's avatar Thierry Reding Committed by David Gibson
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
[Fix some -Wshadow warnings --dwg]
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 2218387a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment