[PATCH] ip2: switch remaining direct call of ops->flush_buffer

From: Alan Cox
Date: Tue Apr 29 2008 - 09:35:23 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/