serial: of-serial: fetch line number from DT
authorLucas Stach <dev@lynxeye.de>
Fri, 5 Dec 2014 19:21:57 +0000 (20:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2015 23:52:13 +0000 (15:52 -0800)
commit3239fd31d4b6b7e0f5629eb458bd67b719050783
tree98a47ffa6d4b15d8dcbe7fbe20a9ad41635fff4c
parentc3bda295eeb002ac708303350d5776c7fe01a127
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>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/of_serial.c