diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 02:56:50 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 19:55:18 +0200 |
commit | a8bda5dd4f99d6469f3c0dc362db3cce8a4d6416 (patch) | |
tree | 513cb0896e142b5eca6fd445cde11b651f408824 /arch/powerpc/platforms/maple/setup.c | |
parent | [POWERPC] Rename device_is_compatible to of_device_is_compatible (diff) | |
download | linux-a8bda5dd4f99d6469f3c0dc362db3cce8a4d6416.tar.xz linux-a8bda5dd4f99d6469f3c0dc362db3cce8a4d6416.zip |
[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/platforms/maple/setup.c')
-rw-r--r-- | arch/powerpc/platforms/maple/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/maple/setup.c b/arch/powerpc/platforms/maple/setup.c index 9389d29cd0be..f21add0e4786 100644 --- a/arch/powerpc/platforms/maple/setup.c +++ b/arch/powerpc/platforms/maple/setup.c @@ -248,7 +248,7 @@ static void __init maple_init_IRQ(void) /* Find address list in /platform-open-pic */ root = of_find_node_by_path("/"); - naddr = prom_n_addr_cells(root); + naddr = of_n_addr_cells(root); opprop = get_property(root, "platform-open-pic", &opplen); if (opprop != 0) { openpic_addr = of_read_number(opprop, naddr); |