aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/maple_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/maple_pci.c')
-rw-r--r--arch/ppc64/kernel/maple_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/maple_pci.c b/arch/ppc64/kernel/maple_pci.c
index 53993999b26..5a8b4d8c2dd 100644
--- a/arch/ppc64/kernel/maple_pci.c
+++ b/arch/ppc64/kernel/maple_pci.c
@@ -447,9 +447,9 @@ void __init maple_pci_init(void)
*/
if (u3_agp) {
struct device_node *np = u3_agp->arch_data;
- np->busno = 0xf0;
+ PCI_DN(np)->busno = 0xf0;
for (np = np->child; np; np = np->sibling)
- np->busno = 0xf0;
+ PCI_DN(np)->busno = 0xf0;
}
/* Tell pci.c to use the common resource allocation mecanism */