diff options
Diffstat (limited to 'arch/powerpc/platforms/iseries/pci.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index 404cf0696857..9c974227155e 100644 --- a/arch/powerpc/platforms/iseries/pci.c +++ b/arch/powerpc/platforms/iseries/pci.c | |||
@@ -176,7 +176,7 @@ void __init iSeries_pci_final_fixup(void) | |||
176 | struct pci_dn *pdn = PCI_DN(node); | 176 | struct pci_dn *pdn = PCI_DN(node); |
177 | const u32 *agent; | 177 | const u32 *agent; |
178 | 178 | ||
179 | agent = get_property(node, "linux,agent-id", NULL); | 179 | agent = of_get_property(node, "linux,agent-id", NULL); |
180 | if ((pdn != NULL) && (agent != NULL)) { | 180 | if ((pdn != NULL) && (agent != NULL)) { |
181 | u8 irq = iSeries_allocate_IRQ(pdn->busno, 0, | 181 | u8 irq = iSeries_allocate_IRQ(pdn->busno, 0, |
182 | pdn->bussubno); | 182 | pdn->bussubno); |
@@ -754,7 +754,7 @@ void __init iSeries_pcibios_init(void) | |||
754 | if ((node->type == NULL) || (strcmp(node->type, "pci") != 0)) | 754 | if ((node->type == NULL) || (strcmp(node->type, "pci") != 0)) |
755 | continue; | 755 | continue; |
756 | 756 | ||
757 | busp = get_property(node, "bus-range", NULL); | 757 | busp = of_get_property(node, "bus-range", NULL); |
758 | if (busp == NULL) | 758 | if (busp == NULL) |
759 | continue; | 759 | continue; |
760 | bus = *busp; | 760 | bus = *busp; |