Maemo patchset 20101501+0m5
[h-e-n] / include / linux / tty_ldisc.h
index 40f38d8..eeb582e 100644 (file)
@@ -133,7 +133,7 @@ struct tty_ldisc_ops {
        /*
         * The following routines are called from below.
         */
-       void    (*receive_buf)(struct tty_struct *, const unsigned char *cp,
+       int     (*receive_buf)(struct tty_struct *, const unsigned char *cp,
                               char *fp, int count);
        void    (*write_wakeup)(struct tty_struct *);