Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6415491 authored by Peter Crosthwaite's avatar Peter Crosthwaite Committed by Greg Kroah-Hartman
Browse files

tty: serial: xilinx_uartps: Use Macro for ttyPS0



All instances of "ttyPS" use this macro except for this one. Convert
it.

Signed-off-by: default avatarPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7950dc58
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1154,7 +1154,8 @@ static int __init cdns_uart_console_setup(struct console *co, char *options)
		return -EINVAL;
		return -EINVAL;


	if (!port->mapbase) {
	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;
		return -ENODEV;
	}
	}