aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-02 20:57:48 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-12 13:55:18 -0400
commit9213feea6e197f8507ec855337798cc3388f5570 (patch)
treeda8015e33f1a242a050ef62603bdc53a7982441c /arch/powerpc/kernel/setup-common.c
parenta8bda5dd4f99d6469f3c0dc362db3cce8a4d6416 (diff)
[POWERPC] Rename prom_n_size_cells to of_n_size_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/setup-common.c')
-rw-r--r--arch/powerpc/kernel/setup-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index f7ef5a97c0ea..640ff0d8f83c 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -380,7 +380,7 @@ void __init smp_setup_cpu_maps(void)
380 const unsigned int *ireg; 380 const unsigned int *ireg;
381 381
382 num_addr_cell = of_n_addr_cells(dn); 382 num_addr_cell = of_n_addr_cells(dn);
383 num_size_cell = prom_n_size_cells(dn); 383 num_size_cell = of_n_size_cells(dn);
384 384
385 ireg = get_property(dn, "ibm,lrdr-capacity", NULL); 385 ireg = get_property(dn, "ibm,lrdr-capacity", NULL);
386 386