tty: Ldisc revamp
[linux-2.6-block.git] / drivers / char / ip2 / i2lib.c
index 938879cc7bccc66e394a32c034a45fcb0c79be27..0061e18aff6045624e6fad0eaaa804f8f9d951e2 100644 (file)
@@ -868,11 +868,11 @@ i2Input(i2ChanStrPtr pCh)
                amountToMove = count;
        }
        // Move the first block
-       pCh->pTTY->ldisc.receive_buf( pCh->pTTY, 
+       pCh->pTTY->ldisc.ops->receive_buf( pCh->pTTY,
                 &(pCh->Ibuf[stripIndex]), NULL, amountToMove );
        // If we needed to wrap, do the second data move
        if (count > amountToMove) {
-               pCh->pTTY->ldisc.receive_buf( pCh->pTTY, 
+               pCh->pTTY->ldisc.ops->receive_buf( pCh->pTTY,
                 pCh->Ibuf, NULL, count - amountToMove );
        }
        // Bump and wrap the stripIndex all at once by the amount of data read. This