mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
Merge branch 'linux-2.6' into powerpc-next
This commit is contained in:
@@ -65,6 +65,9 @@ struct property *of_find_property(const struct device_node *np,
|
||||
{
|
||||
struct property *pp;
|
||||
|
||||
if (!np)
|
||||
return NULL;
|
||||
|
||||
read_lock(&devtree_lock);
|
||||
for (pp = np->properties; pp != 0; pp = pp->next) {
|
||||
if (of_prop_cmp(pp->name, name) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user