diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-02 20:56:50 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:18 -0400 |
commit | a8bda5dd4f99d6469f3c0dc362db3cce8a4d6416 (patch) | |
tree | 513cb0896e142b5eca6fd445cde11b651f408824 /arch/powerpc/kernel/pci_64.c | |
parent | 7a92f74f98bde8498c98aad6cac5da5a87dd0bf4 (diff) |
[POWERPC] Rename prom_n_addr_cells to of_n_addr_cells
This is more consistent and gets us closer to the Sparc code.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index db1d40ef7d60..84b4f66e98b6 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -957,7 +957,7 @@ void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose, | |||
957 | int rlen = 0; | 957 | int rlen = 0; |
958 | int memno = 0; | 958 | int memno = 0; |
959 | struct resource *res; | 959 | struct resource *res; |
960 | int np, na = prom_n_addr_cells(dev); | 960 | int np, na = of_n_addr_cells(dev); |
961 | unsigned long pci_addr, cpu_phys_addr; | 961 | unsigned long pci_addr, cpu_phys_addr; |
962 | 962 | ||
963 | np = na + 5; | 963 | np = na + 5; |