diff options
Diffstat (limited to 'arch/powerpc/boot/serial.c')
-rw-r--r-- | arch/powerpc/boot/serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c index f045f8494bf9..b0491b8c0199 100644 --- a/arch/powerpc/boot/serial.c +++ b/arch/powerpc/boot/serial.c | |||
@@ -93,7 +93,8 @@ static void *serial_get_stdout_devp(void) | |||
93 | if (devp == NULL) | 93 | if (devp == NULL) |
94 | goto err_out; | 94 | goto err_out; |
95 | 95 | ||
96 | if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0) { | 96 | if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || |
97 | getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { | ||
97 | devp = finddevice(path); | 98 | devp = finddevice(path); |
98 | if (devp == NULL) | 99 | if (devp == NULL) |
99 | goto err_out; | 100 | goto err_out; |