lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] ip2: switch remaining direct call of ops->flush_buffer
Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-mm1/drivers/char/ip2/ip2main.c linux-2.6.25-mm1/drivers/char/ip2/ip2main.c
--- linux.vanilla-2.6.25-mm1/drivers/char/ip2/ip2main.c 2008-04-28 11:36:48.000000000 +0100
+++ linux-2.6.25-mm1/drivers/char/ip2/ip2main.c 2008-04-28 11:46:15.000000000 +0100
@@ -1616,9 +1616,8 @@

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;

\
 
 \ /
  Last update: 2008-04-29 15:37    [W:0.023 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site