summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/xilinx_uartps.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2015-02-25 02:13:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 05:28:57 +0300
commitf6415491c5f33df1adb5983070618f30370bd346 (patch)
tree637e53a9d9283347848707ec07de665b2096ddc3 /drivers/tty/serial/xilinx_uartps.c
parent7950dc586092d0c7a8b881188061cc3dc133d7e9 (diff)
downloadlinux-f6415491c5f33df1adb5983070618f30370bd346.tar.xz
tty: serial: xilinx_uartps: Use Macro for ttyPS0
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>
Diffstat (limited to 'drivers/tty/serial/xilinx_uartps.c')
-rw-r--r--drivers/tty/serial/xilinx_uartps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index cff531a51a78..8f9c5430f470 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -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;
}