diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 10:57:48 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-13 03:55:18 +1000 |
commit | 9213feea6e197f8507ec855337798cc3388f5570 (patch) | |
tree | da8015e33f1a242a050ef62603bdc53a7982441c /arch/powerpc/kernel/prom_parse.c | |
parent | a8bda5dd4f99d6469f3c0dc362db3cce8a4d6416 (diff) | |
download | kernel-crypto-9213feea6e197f8507ec855337798cc3388f5570.tar.gz kernel-crypto-9213feea6e197f8507ec855337798cc3388f5570.tar.xz kernel-crypto-9213feea6e197f8507ec855337798cc3388f5570.zip |
[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/prom_parse.c')
-rw-r--r-- | arch/powerpc/kernel/prom_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/prom_parse.c b/arch/powerpc/kernel/prom_parse.c index e3d036fa605..ba9c7c1e410 100644 --- a/arch/powerpc/kernel/prom_parse.c +++ b/arch/powerpc/kernel/prom_parse.c @@ -70,7 +70,7 @@ static void of_bus_default_count_cells(struct device_node *dev, if (addrc) *addrc = of_n_addr_cells(dev); if (sizec) - *sizec = prom_n_size_cells(dev); + *sizec = of_n_size_cells(dev); } static u64 of_bus_default_map(u32 *addr, const u32 *range, @@ -660,7 +660,7 @@ void of_parse_dma_window(struct device_node *dn, const void *dma_window_prop, dma_window += cells; prop = get_property(dn, "ibm,#dma-size-cells", NULL); - cells = prop ? *(u32 *)prop : prom_n_size_cells(dn); + cells = prop ? *(u32 *)prop : of_n_size_cells(dn); *size = of_read_number(dma_window, cells); } |