Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96822
b: refs/heads/master
c: 64e4566
h: refs/heads/master
v: v3
  • Loading branch information
Timur Tabi authored and Paul Mackerras committed May 15, 2008
1 parent 0bfc538 commit 37e0bcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cec08e7a948326b01555be6311480aa08e637de2
refs/heads/master: 64e4566f6d590fbb284da061b9b664c2486dd2de
3 changes: 3 additions & 0 deletions trunk/drivers/of/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 37e0bcd

Please sign in to comment.