From: Alan Cox Date: Wed, 30 Apr 2008 07:54:18 +0000 (-0700) Subject: ip2: switch remaining direct call of ops->flush_buffer X-Git-Tag: v2.6.26-rc1~175 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a6fc819ebe2d70c92e43e14adbb93a5bd8ea5aa3;p=linux-2.6-omap-h63xx.git ip2: switch remaining direct call of ops->flush_buffer Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c index 5ef69dcd258..70957acaa96 100644 --- a/drivers/char/ip2/ip2main.c +++ b/drivers/char/ip2/ip2main.c @@ -1616,9 +1616,8 @@ ip2_close( PTTY tty, struct file *pFile ) serviceOutgoingFifo ( pCh->pMyBord ); - if ( tty->driver->ops->flush_buffer ) - tty->driver->ops->flush_buffer(tty); tty_ldisc_flush(tty); + tty_driver_flush_buffer(tty); tty->closing = 0; pCh->pTTY = NULL;