Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263126
b: refs/heads/master
c: 69566dd
h: refs/heads/master
v: v3
  • Loading branch information
David Daney authored and Jesse Barnes committed Aug 19, 2011
1 parent 76ce5e7 commit dbcb455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: debc3b778508f59696ff188f0feca271dcbfa7d9
refs/heads/master: 69566dd8be42dea7a22f625abc96e65bb4b45d1f
2 changes: 1 addition & 1 deletion trunk/drivers/pci/of.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct device_node * __weak pcibios_get_phb_of_node(struct pci_bus *bus)
*/
if (bus->bridge->of_node)
return of_node_get(bus->bridge->of_node);
if (bus->bridge->parent->of_node)
if (bus->bridge->parent && bus->bridge->parent->of_node)
return of_node_get(bus->bridge->parent->of_node);
return NULL;
}

0 comments on commit dbcb455

Please sign in to comment.