]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
serial: pch_uart: Make port type explicit
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 22 Aug 2017 13:58:20 +0000 (16:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:20 +0000 (20:51 +0200)
commit63e8d4394a2d226803f47abd7287dbb6d21bf8e4
tree205fea237b5faf156fe2ca7a5411fef88c50706e
parentaef3ad103a686f21b746977d4ed21cc1af36f589
serial: pch_uart: Make port type explicit

It used to be a gap in port definitions after PORT_MAX_8250. Since the
new drivers are coming the gap become shorter and shorter until the
commit a2d6a987bfe4 ("serial: 8250: Add new port type for TI DA8xx/66AK2x")
completely removed it.

So, while type here is just a formality, make things a little bit more
explicit for this driver and move port types to UAPI header. Note,
it uses two types for now.

Fixes: fddceb8b5399 ("tty: 8250: Add 64byte UART support for FSL platforms")
Cc: Priyanka Jain <Priyanka.Jain@freescale.com>
Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c
include/uapi/linux/serial_core.h