Re: [PATCH V2] tty/serial: add support for Xilinx PS UART

Joe Perches
2011-04-22T09:20:37Z

On Fri, 2011-04-22 at 11:11 +0200, Michal Simek wrote:
> John Linn wrote:
> > The Xilinx PS Uart is used on the new ARM based SoC. This
> > UART is not compatible with others such that a seperate
> > driver is required.
[]
> > +++ b/drivers/tty/serial/xilinx_uartps.c
[]
> > + rc = uart_add_one_port(&xuartps_uart_driver, port);
> > + if (rc) {
> > + dev_err(&pdev->dev, "uart_add_one_port() failed; \
> > + err=%i\n", rc);

That's a whitespace error.
Please don't be concerned about 80 column lines used for formatting.
You could use something like this as well.

dev_err(&pdev->dev,
"uart_add_one_port() failed; err=%d\n", rc);