[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
@@ -136,7 +136,7 @@ static __init void pas_init_IRQ(void)
|
||||
|
||||
/* Find address list in /platform-open-pic */
|
||||
root = of_find_node_by_path("/");
|
||||
naddr = prom_n_addr_cells(root);
|
||||
naddr = of_n_addr_cells(root);
|
||||
opprop = get_property(root, "platform-open-pic", &opplen);
|
||||
if (!opprop) {
|
||||
printk(KERN_ERR "No platform-open-pic property.\n");
|
||||
|
Reference in New Issue
Block a user