[PATCH v2 0/2] console: don't select first registered console if stdout-path used
From: Eugeniy Paltsev
Date: Mon Aug 28 2017 - 12:58:17 EST
Don't select first registered console if one is specified by the device tree
via the stdout-path (or linux,stdout-path) chosen node properties.
Eugeniy Paltsev (2):
OF: move extern declarations of of_stdout inside ifdef
console: don't select first registered console if stdout-path used
Changes v1->v2:
* Add exception for "tty0" console as current tty0 behavior is widely used
by ARM and powerpc boards.
include/linux/of.h | 4 ++-
kernel/printk/printk.c | 84 +++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 72 insertions(+), 16 deletions(-)
--
2.9.3