amba_pl011: Don't use DT aliases for numbering
authorPhil Elwell <phil@raspberrypi.org>
Tue, 23 Feb 2016 17:26:48 +0000 (17:26 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 00:59:55 +0000 (00:59 +0000)
commitdb8c4a90bcf8f5e8016df2b5e11f990a122877e8
treeac285bafd9e3e40c64fcd21b458057faf33de7b6
parent89aef99a8816646f83eceb6ea7862998486ec004
amba_pl011: Don't use DT aliases for numbering

The pl011 driver looks for DT aliases of the form "serial<n>",
and if found uses <n> as the device ID. This can cause
/dev/ttyAMA0 to become /dev/ttyAMA1, which is confusing if the
other serial port is provided by the 8250 driver which doesn't
use the same logic.
drivers/tty/serial/amba-pl011.c