diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-02 20:57:48 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:18 -0400 |
commit | 9213feea6e197f8507ec855337798cc3388f5570 (patch) | |
tree | da8015e33f1a242a050ef62603bdc53a7982441c /arch/powerpc/kernel/prom.c | |
parent | a8bda5dd4f99d6469f3c0dc362db3cce8a4d6416 (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/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 08d619756d33..2890ce3d6641 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1056,8 +1056,7 @@ int of_n_addr_cells(struct device_node* np) | |||
1056 | } | 1056 | } |
1057 | EXPORT_SYMBOL(of_n_addr_cells); | 1057 | EXPORT_SYMBOL(of_n_addr_cells); |
1058 | 1058 | ||
1059 | int | 1059 | int of_n_size_cells(struct device_node* np) |
1060 | prom_n_size_cells(struct device_node* np) | ||
1061 | { | 1060 | { |
1062 | const int* ip; | 1061 | const int* ip; |
1063 | do { | 1062 | do { |
@@ -1070,7 +1069,7 @@ prom_n_size_cells(struct device_node* np) | |||
1070 | /* No #size-cells property for the root node, default to 1 */ | 1069 | /* No #size-cells property for the root node, default to 1 */ |
1071 | return 1; | 1070 | return 1; |
1072 | } | 1071 | } |
1073 | EXPORT_SYMBOL(prom_n_size_cells); | 1072 | EXPORT_SYMBOL(of_n_size_cells); |
1074 | 1073 | ||
1075 | /** | 1074 | /** |
1076 | * Construct and return a list of the device_nodes with a given name. | 1075 | * Construct and return a list of the device_nodes with a given name. |