diff --git a/[refs] b/[refs] index 3193ff45245b..d6c2c8a6926c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1f5c13fad4ec5617b610e12205902c06298c096a +refs/heads/master: 90387f5eb08e50d79ab305dab170b4a437d5802c diff --git a/trunk/drivers/char/riscom8.c b/trunk/drivers/char/riscom8.c index 7b5623b01903..3c7cf2cf3ea2 100644 --- a/trunk/drivers/char/riscom8.c +++ b/trunk/drivers/char/riscom8.c @@ -934,7 +934,7 @@ static void rc_flush_buffer(struct tty_struct *tty) tty_wakeup(tty); } -static void rc_close_port(struct tty_port *port, struct tty_struct *tty) +static void rc_close_port(struct tty_port *port) { unsigned long flags; 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) break; } } - rc_shutdown_port(tty, bp, rp); + rc_shutdown_port(port->tty, bp, rp); spin_unlock_irqrestore(&riscom_lock, flags); }