[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>
This commit is contained in:
committed by
Paul Mackerras
parent
7a92f74f98
commit
a8bda5dd4f
@@ -1041,8 +1041,7 @@ void __init early_init_devtree(void *params)
|
||||
|
||||
#undef printk
|
||||
|
||||
int
|
||||
prom_n_addr_cells(struct device_node* np)
|
||||
int of_n_addr_cells(struct device_node* np)
|
||||
{
|
||||
const int *ip;
|
||||
do {
|
||||
@@ -1055,7 +1054,7 @@ prom_n_addr_cells(struct device_node* np)
|
||||
/* No #address-cells property for the root node, default to 1 */
|
||||
return 1;
|
||||
}
|
||||
EXPORT_SYMBOL(prom_n_addr_cells);
|
||||
EXPORT_SYMBOL(of_n_addr_cells);
|
||||
|
||||
int
|
||||
prom_n_size_cells(struct device_node* np)
|
||||
|
Reference in New Issue
Block a user