Skip to content

Commit

Permalink
tty: serial: xilinx_uartps: Use Macro for ttyPS0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Crosthwaite authored and Greg Kroah-Hartman committed Mar 7, 2015
1 parent 7950dc5 commit f641549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/tty/serial/xilinx_uartps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f641549

Please sign in to comment.