aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/btext.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/btext.c')
-rw-r--r--arch/powerpc/kernel/btext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/btext.c b/arch/powerpc/kernel/btext.c
index 9c74fdf29eec..80e2eef05b2e 100644
--- a/arch/powerpc/kernel/btext.c
+++ b/arch/powerpc/kernel/btext.c
@@ -236,7 +236,7 @@ int __init btext_find_display(int allow_nonstdout)
236 if (rc == 0 || !allow_nonstdout) 236 if (rc == 0 || !allow_nonstdout)
237 return rc; 237 return rc;
238 238
239 for (np = NULL; (np = of_find_node_by_type(np, "display"));) { 239 for_each_node_by_type(np, "display") {
240 if (of_get_property(np, "linux,opened", NULL)) { 240 if (of_get_property(np, "linux,opened", NULL)) {
241 printk("trying %s ...\n", np->full_name); 241 printk("trying %s ...\n", np->full_name);
242 rc = btext_initialize(np); 242 rc = btext_initialize(np);