aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/pc300_tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/pc300_tty.c')
-rw-r--r--drivers/net/wan/pc300_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/pc300_tty.c b/drivers/net/wan/pc300_tty.c
index 1c65d1c33873..d47d2cd10475 100644
--- a/drivers/net/wan/pc300_tty.c
+++ b/drivers/net/wan/pc300_tty.c
@@ -755,7 +755,7 @@ void cpc_tty_receive(pc300dev_t *pc300dev)
755 755
756 dsr_rx = cpc_readb(card->hw.scabase + DSR_RX(ch)); 756 dsr_rx = cpc_readb(card->hw.scabase + DSR_RX(ch));
757 757
758 cpc_tty = (st_cpc_tty_area *)pc300dev->cpc_tty; 758 cpc_tty = pc300dev->cpc_tty;
759 759
760 while (1) { 760 while (1) {
761 rx_len = 0; 761 rx_len = 0;