diff options
Diffstat (limited to 'arch/powerpc/sysdev/mv64x60_udbg.c')
-rw-r--r-- | arch/powerpc/sysdev/mv64x60_udbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_udbg.c b/arch/powerpc/sysdev/mv64x60_udbg.c index 367e7b13ec00..35c77c7d0616 100644 --- a/arch/powerpc/sysdev/mv64x60_udbg.c +++ b/arch/powerpc/sysdev/mv64x60_udbg.c | |||
@@ -85,10 +85,10 @@ static void mv64x60_udbg_init(void) | |||
85 | if (!stdout) | 85 | if (!stdout) |
86 | return; | 86 | return; |
87 | 87 | ||
88 | for (np = NULL; | 88 | for_each_compatible_node(np, "serial", "marvell,mpsc") { |
89 | (np = of_find_compatible_node(np, "serial", "marvell,mpsc")); ) | ||
90 | if (np == stdout) | 89 | if (np == stdout) |
91 | break; | 90 | break; |
91 | } | ||
92 | 92 | ||
93 | of_node_put(stdout); | 93 | of_node_put(stdout); |
94 | if (!np) | 94 | if (!np) |