]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
serial: 8250_dw: get index of serial line from DT aliases
authorJulien CHAUVEAU <julien.chauveau@neo-technologies.fr>
Tue, 4 Nov 2014 10:45:55 +0000 (11:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:26 +0000 (14:57 -0800)
commitf77d55a3b56a98d14b6e7dc549c24b33011d175d
tree5b99bdff6bb16f6a9275a1cb513492a1d2eed574
parent1bd8324535ec1ff44aef55c0e40b9e7d56b310fb
serial: 8250_dw: get index of serial line from DT aliases

Get index of serial line from device tree using function of_alias_get_id().
If no alias is found, the 8250 core takes care of incrementing the line number.

Signed-off-by: Julien CHAUVEAU <julien.chauveau@neo-technologies.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c