summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c
index 069e66e4bc..b4b3a9997f 100644
--- a/common/console.c
+++ b/common/console.c
@@ -164,6 +164,9 @@ int console_register(struct console_device *newcdev)
activate = 1;
}
+ if (newcdev->dev && of_device_is_stdout_path(newcdev->dev))
+ activate = 1;
+
list_add_tail(&newcdev->list, &console_list);
if (activate)