diff options
Diffstat (limited to 'arch/powerpc/platforms/pasemi/setup.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index 449cf1a08291..d4fd61328c8b 100644 --- a/arch/powerpc/platforms/pasemi/setup.c +++ b/arch/powerpc/platforms/pasemi/setup.c | |||
@@ -136,7 +136,7 @@ static __init void pas_init_IRQ(void) | |||
136 | 136 | ||
137 | /* Find address list in /platform-open-pic */ | 137 | /* Find address list in /platform-open-pic */ |
138 | root = of_find_node_by_path("/"); | 138 | root = of_find_node_by_path("/"); |
139 | naddr = prom_n_addr_cells(root); | 139 | naddr = of_n_addr_cells(root); |
140 | opprop = get_property(root, "platform-open-pic", &opplen); | 140 | opprop = get_property(root, "platform-open-pic", &opplen); |
141 | if (!opprop) { | 141 | if (!opprop) { |
142 | printk(KERN_ERR "No platform-open-pic property.\n"); | 142 | printk(KERN_ERR "No platform-open-pic property.\n"); |