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

Commit df04baf1 authored by Sonic Zhang's avatar Sonic Zhang Committed by Linus Torvalds
Browse files

blackfin: Fix tty compile error in PIO mode



Fixes this compile issue:

  drivers/serial/bfin_5xx.c: In function bfin_serial_rx_chars:
  drivers/serial/bfin_5xx.c:178: error: struct uart_info has no member named tty

Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 59e4e3e6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -174,10 +174,10 @@ static void bfin_serial_rx_chars(struct bfin_serial_port *uart)
			return;
		}

	if (!uart->port.info || !uart->port.info->tty)
	if (!uart->port.info || !uart->port.info->port.tty)
		return;
#endif
	tty = uart->port.info->tty;
	tty = uart->port.info->port.tty;

	if (ANOMALY_05000363) {
		/* The BF533 (and BF561) family of processors have a nice anomaly