diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2009-04-06 12:32:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 17:36:29 -0400 |
commit | df04baf1e6a62ff232fa224504ccaa987b5be230 (patch) | |
tree | ec119f079a32d603c4215aaa62eed01b1a4ca872 /drivers/serial/bfin_5xx.c | |
parent | 59e4e3e65d3f856cfcdc66de2db5530d7b161f68 (diff) |
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: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/bfin_5xx.c')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 45c32b23d736..d7b271656a2d 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
@@ -174,10 +174,10 @@ static void bfin_serial_rx_chars(struct bfin_serial_port *uart) | |||
174 | return; | 174 | return; |
175 | } | 175 | } |
176 | 176 | ||
177 | if (!uart->port.info || !uart->port.info->tty) | 177 | if (!uart->port.info || !uart->port.info->port.tty) |
178 | return; | 178 | return; |
179 | #endif | 179 | #endif |
180 | tty = uart->port.info->tty; | 180 | tty = uart->port.info->port.tty; |
181 | 181 | ||
182 | if (ANOMALY_05000363) { | 182 | if (ANOMALY_05000363) { |
183 | /* The BF533 (and BF561) family of processors have a nice anomaly | 183 | /* The BF533 (and BF561) family of processors have a nice anomaly |