diff options
-rw-r--r-- | drivers/char/riscom8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/riscom8.c b/drivers/char/riscom8.c index 7b5623b01903..3c7cf2cf3ea2 100644 --- a/drivers/char/riscom8.c +++ b/drivers/char/riscom8.c | |||
@@ -934,7 +934,7 @@ static void rc_flush_buffer(struct tty_struct *tty) | |||
934 | tty_wakeup(tty); | 934 | tty_wakeup(tty); |
935 | } | 935 | } |
936 | 936 | ||
937 | static void rc_close_port(struct tty_port *port, struct tty_struct *tty) | 937 | static void rc_close_port(struct tty_port *port) |
938 | { | 938 | { |
939 | unsigned long flags; | 939 | unsigned long flags; |
940 | struct riscom_port *rp = container_of(port, struct riscom_port, port); | 940 | struct riscom_port *rp = container_of(port, struct riscom_port, port); |
@@ -969,7 +969,7 @@ static void rc_close_port(struct tty_port *port, struct tty_struct *tty) | |||
969 | break; | 969 | break; |
970 | } | 970 | } |
971 | } | 971 | } |
972 | rc_shutdown_port(tty, bp, rp); | 972 | rc_shutdown_port(port->tty, bp, rp); |
973 | spin_unlock_irqrestore(&riscom_lock, flags); | 973 | spin_unlock_irqrestore(&riscom_lock, flags); |
974 | } | 974 | } |
975 | 975 | ||