diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index d8ef2e100505..ecc765819305 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -895,7 +895,7 @@ pci_process_bridge_OF_ranges(struct pci_controller *hose, | |||
895 | int rlen = 0, orig_rlen; | 895 | int rlen = 0, orig_rlen; |
896 | int memno = 0; | 896 | int memno = 0; |
897 | struct resource *res; | 897 | struct resource *res; |
898 | int np, na = prom_n_addr_cells(dev); | 898 | int np, na = of_n_addr_cells(dev); |
899 | np = na + 5; | 899 | np = na + 5; |
900 | 900 | ||
901 | /* First we try to merge ranges to fix a problem with some pmacs | 901 | /* First we try to merge ranges to fix a problem with some pmacs |