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, 23 Jul 2017 02:20:05 +0000 (02:20 +0000)
commit04b078d85c2bee30f94ea0833bee426d60a08e7d
tree7c2eac7a2c6e801bbd5a6abcddab00026d1a2746
parent4d17f1a425ff2ff38208cfd3c84c15a67041e1ca
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