[POWERPC] pci_controller->arch_data really is a struct device_node *
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
6207e81695
commit
44ef339073
@@ -145,7 +145,7 @@ void __init isa_bridge_find_early(struct pci_controller *hose)
|
||||
for_each_node_by_type(np, "isa") {
|
||||
/* Look for our hose being a parent */
|
||||
for (parent = of_get_parent(np); parent;) {
|
||||
if (parent == hose->arch_data) {
|
||||
if (parent == hose->dn) {
|
||||
of_node_put(parent);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user