
From: Alan Cox <alan@lxorguk.ukuu.org.uk>


Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 drivers/char/speakup/speakup.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/speakup/speakup.c~tty-layer-buffering-revamp-speakup-fix drivers/char/speakup/speakup.c
--- devel/drivers/char/speakup/speakup.c~tty-layer-buffering-revamp-speakup-fix	2005-09-09 18:31:24.000000000 -0700
+++ devel-akpm/drivers/char/speakup/speakup.c	2005-09-09 18:31:24.000000000 -0700
@@ -488,7 +488,7 @@ speakup_paste_selection(struct tty_struc
       continue;
     }
     count = sel_buffer_lth - pasted;
-    count = MIN(count, tty->ldisc.receive_room(tty));
+    count = MIN(count, tty->receive_room);
     tty->ldisc.receive_buf(tty, sel_buffer + pasted, 0, count);
     pasted += count;
   }
_
