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_32.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_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 |