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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/maple/setup.c b/arch/powerpc/platforms/maple/setup.c
index f21add0e4786..120cd048e0cc 100644
--- a/arch/powerpc/platforms/maple/setup.c
+++ b/arch/powerpc/platforms/maple/setup.c
@@ -113,8 +113,8 @@ static void maple_restart(char *cmd)
113 printk(KERN_EMERG "Maple: Unable to find Service Processor\n"); 113 printk(KERN_EMERG "Maple: Unable to find Service Processor\n");
114 goto fail; 114 goto fail;
115 } 115 }
116 maple_nvram_offset = get_property(sp, "restart-addr", NULL); 116 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL);
117 maple_nvram_command = get_property(sp, "restart-value", NULL); 117 maple_nvram_command = of_get_property(sp, "restart-value", NULL);
118 of_node_put(sp); 118 of_node_put(sp);
119 119
120 /* send command */ 120 /* send command */
@@ -140,8 +140,8 @@ static void maple_power_off(void)
140 printk(KERN_EMERG "Maple: Unable to find Service Processor\n"); 140 printk(KERN_EMERG "Maple: Unable to find Service Processor\n");
141 goto fail; 141 goto fail;
142 } 142 }
143 maple_nvram_offset = get_property(sp, "power-off-addr", NULL); 143 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL);
144 maple_nvram_command = get_property(sp, "power-off-value", NULL); 144 maple_nvram_command = of_get_property(sp, "power-off-value", NULL);
145 of_node_put(sp); 145 of_node_put(sp);
146 146
147 /* send command */ 147 /* send command */
@@ -249,7 +249,7 @@ static void __init maple_init_IRQ(void)
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 = of_n_addr_cells(root); 251 naddr = of_n_addr_cells(root);
252 opprop = get_property(root, "platform-open-pic", &opplen); 252 opprop = of_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);
255 has_isus = (opplen > naddr); 255 has_isus = (opplen > naddr);
@@ -260,7 +260,7 @@ static void __init maple_init_IRQ(void)
260 BUG_ON(openpic_addr == 0); 260 BUG_ON(openpic_addr == 0);
261 261
262 /* Check for a big endian MPIC */ 262 /* Check for a big endian MPIC */
263 if (get_property(np, "big-endian", NULL) != NULL) 263 if (of_get_property(np, "big-endian", NULL) != NULL)
264 flags |= MPIC_BIG_ENDIAN; 264 flags |= MPIC_BIG_ENDIAN;
265 265
266 /* XXX Maple specific bits */ 266 /* XXX Maple specific bits */