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/prom.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/prom.c')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index d2840b66c8c1..08d619756d33 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1041,8 +1041,7 @@ void __init early_init_devtree(void *params) | |||
1041 | 1041 | ||
1042 | #undef printk | 1042 | #undef printk |
1043 | 1043 | ||
1044 | int | 1044 | int of_n_addr_cells(struct device_node* np) |
1045 | prom_n_addr_cells(struct device_node* np) | ||
1046 | { | 1045 | { |
1047 | const int *ip; | 1046 | const int *ip; |
1048 | do { | 1047 | do { |
@@ -1055,7 +1054,7 @@ prom_n_addr_cells(struct device_node* np) | |||
1055 | /* No #address-cells property for the root node, default to 1 */ | 1054 | /* No #address-cells property for the root node, default to 1 */ |
1056 | return 1; | 1055 | return 1; |
1057 | } | 1056 | } |
1058 | EXPORT_SYMBOL(prom_n_addr_cells); | 1057 | EXPORT_SYMBOL(of_n_addr_cells); |
1059 | 1058 | ||
1060 | int | 1059 | int |
1061 | prom_n_size_cells(struct device_node* np) | 1060 | prom_n_size_cells(struct device_node* np) |