aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/maple/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/maple/setup.c')
-rw-r--r--arch/powerpc/platforms/maple/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/maple/setup.c b/arch/powerpc/platforms/maple/setup.c
index 9389d29cd0be..f21add0e4786 100644
--- a/arch/powerpc/platforms/maple/setup.c
+++ b/arch/powerpc/platforms/maple/setup.c
@@ -248,7 +248,7 @@ static void __init maple_init_IRQ(void)
248 248
249 /* Find address list in /platform-open-pic */ 249 /* Find address list in /platform-open-pic */
250 root = of_find_node_by_path("/"); 250 root = of_find_node_by_path("/");
251 naddr = prom_n_addr_cells(root); 251 naddr = of_n_addr_cells(root);
252 opprop = get_property(root, "platform-open-pic", &opplen); 252 opprop = get_property(root, "platform-open-pic", &opplen);
253 if (opprop != 0) { 253 if (opprop != 0) {
254 openpic_addr = of_read_number(opprop, naddr); 254 openpic_addr = of_read_number(opprop, naddr);