X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=drivers%2Fchar%2Fsynclinkmp.c;h=5341b5aaf8bc306ed2c87632add2ac542eaf13b2;hb=a352def21a642133758b868c71bee12ab34ad5c5;hp=bec54866e0bb6630b0f6d05f7890daf365695134;hpb=e1e5770bb63fb9d71619a68f52cb0ba4b2ae58a6;p=linux-2.6-block.git diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index bec54866e0bb..5341b5aaf8bc 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c @@ -712,8 +712,8 @@ static void ldisc_receive_buf(struct tty_struct *tty, return; ld = tty_ldisc_ref(tty); if (ld) { - if (ld->receive_buf) - ld->receive_buf(tty, data, flags, count); + if (ld->ops->receive_buf) + ld->ops->receive_buf(tty, data, flags, count); tty_ldisc_deref(ld); } }