]> git.baikalelectronics.ru Git - kernel.git/commit
serial: of-serial: fetch line number from DT
authorLucas Stach <dev@lynxeye.de>
Mon, 3 Nov 2014 22:16:54 +0000 (23:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:25 +0000 (14:57 -0800)
commit5f90a7a55c518ed14a6e6b58caf865c92f203294
treed1d547d190757213db41dd9131e94de886bd74b1
parent40760dbd676fba2edbeb8e880f5811086e87aec4
serial: of-serial: fetch line number from DT

The general agreed way to specify a fixed line number
for a serial console is to provide a "serial" alias
in the devicetree. Start parsing this property in
of_serial.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/of_serial.c