diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/lpar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c index 843ee9643211..3a70e8ad7bc8 100644 --- a/arch/powerpc/platforms/pseries/lpar.c +++ b/arch/powerpc/platforms/pseries/lpar.c | |||
@@ -209,13 +209,13 @@ void __init find_udbg_vterm(void) | |||
209 | /* find the boot console from /chosen/stdout */ | 209 | /* find the boot console from /chosen/stdout */ |
210 | if (!of_chosen) | 210 | if (!of_chosen) |
211 | return; | 211 | return; |
212 | name = get_property(of_chosen, "linux,stdout-path", NULL); | 212 | name = of_get_property(of_chosen, "linux,stdout-path", NULL); |
213 | if (name == NULL) | 213 | if (name == NULL) |
214 | return; | 214 | return; |
215 | stdout_node = of_find_node_by_path(name); | 215 | stdout_node = of_find_node_by_path(name); |
216 | if (!stdout_node) | 216 | if (!stdout_node) |
217 | return; | 217 | return; |
218 | name = get_property(stdout_node, "name", NULL); | 218 | name = of_get_property(stdout_node, "name", NULL); |
219 | if (!name) { | 219 | if (!name) { |
220 | printk(KERN_WARNING "stdout node missing 'name' property!\n"); | 220 | printk(KERN_WARNING "stdout node missing 'name' property!\n"); |
221 | goto out; | 221 | goto out; |
@@ -226,7 +226,7 @@ void __init find_udbg_vterm(void) | |||
226 | /* Check if it's a virtual terminal */ | 226 | /* Check if it's a virtual terminal */ |
227 | if (strncmp(name, "vty", 3) != 0) | 227 | if (strncmp(name, "vty", 3) != 0) |
228 | goto out; | 228 | goto out; |
229 | termno = get_property(stdout_node, "reg", NULL); | 229 | termno = of_get_property(stdout_node, "reg", NULL); |
230 | if (termno == NULL) | 230 | if (termno == NULL) |
231 | goto out; | 231 | goto out; |
232 | vtermno = termno[0]; | 232 | vtermno = termno[0]; |