]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tty: serial: xilinx_uartps: Use Macro for ttyPS0
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 24 Feb 2015 23:13:57 +0000 (15:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:28:57 +0000 (03:28 +0100)
All instances of "ttyPS" use this macro except for this one. Convert
it.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c

index cff531a51a783f8501bae180fd5788ce45a00c34..8f9c5430f4706df7890327ca3cd31041c629ebaa 100644 (file)
@@ -1154,7 +1154,8 @@ static int __init cdns_uart_console_setup(struct console *co, char *options)
                return -EINVAL;
 
        if (!port->mapbase) {
-               pr_debug("console on ttyPS%i not present\n", co->index);
+               pr_debug("console on " CDNS_UART_TTY_NAME "%i not present\n",
+                        co->index);
                return -ENODEV;
        }