X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fchar%2Fselection.c;h=f97b9e8480645f85c34efb7bcbb41b3474e34d6c;hb=a33a052f19a21d727847391c8c1aff3fb221c472;hp=cb8ca5698963017d03ff6ed625ec41f0d0a6c062;hpb=f22d806b6cc0c74dd0a1a21b3f311dba51d9df84;p=mv-sheeva.git diff --git a/drivers/char/selection.c b/drivers/char/selection.c index cb8ca569896..f97b9e84806 100644 --- a/drivers/char/selection.c +++ b/drivers/char/selection.c @@ -327,7 +327,7 @@ int paste_selection(struct tty_struct *tty) } count = sel_buffer_lth - pasted; count = min(count, tty->receive_room); - tty->ldisc.ops->receive_buf(tty, sel_buffer + pasted, + tty->ldisc->ops->receive_buf(tty, sel_buffer + pasted, NULL, count); pasted += count; }