]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ip2: switch remaining direct call of ops->flush_buffer
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 30 Apr 2008 07:54:18 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:47 +0000 (08:29 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ip2/ip2main.c

index 5ef69dcd25888c647c80a5b90be3b196adf3cc35..70957acaa960ac3bcdefc2a8faa6e05aa7055502 100644 (file)
@@ -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;