From: Heikki Krogerus Date: Thu, 10 Jan 2013 09:25:06 +0000 (+0200) Subject: serial: 8250_dw: Don't use UPF_FIXED_TYPE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=966c4e39b5f7f249d7bb4c409176c9e6c5d48025;p=linux-beck.git serial: 8250_dw: Don't use UPF_FIXED_TYPE Allow 8250.c to determine the port type for us. This allows the driver take advantage of FIFO on Designware UARTs that have it. Signed-off-by: Heikki Krogerus Reviewed-by: Jamie Iles Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 1d0dba2d562d..ff83ea518760 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -112,7 +112,7 @@ static int dw8250_probe(struct platform_device *pdev) uart.port.handle_irq = dw8250_handle_irq; uart.port.type = PORT_8250; uart.port.flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_IOREMAP | - UPF_FIXED_PORT | UPF_FIXED_TYPE; + UPF_FIXED_PORT; uart.port.dev = &pdev->dev; uart.port.iotype = UPIO_MEM;