serial: 8250: Add IrDA to UART capabilities

Add an IrDA UART capability flag and change the type of
uart_8250_port.capabilities to be u32 rather than unsigned short to
accommodate the additional flag.

Signed-off-by: Ed Blake <ed.blake@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ed Blake
2016-11-10 18:07:54 +00:00
committed by Greg Kroah-Hartman
parent 5fe8667484
commit 98838d9507
4 changed files with 6 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ static void ce4100_mem_serial_out(struct uart_port *p, int offset, int value)
}
static void ce4100_serial_fixup(int port, struct uart_port *up,
unsigned short *capabilites)
u32 *capabilites)
{
#ifdef CONFIG_EARLY_PRINTK
/*