tty: make tty_operations::write_room return uint
[sfrench/cifs-2.6.git] / drivers / tty / pty.c
index 3e7b5c811f9b335e984b53dc31a17183361aed03..eb8556b19592c12492a6210b83821191f0ff9278 100644 (file)
@@ -136,7 +136,7 @@ static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c)
  *     the other device.
  */
 
-static int pty_write_room(struct tty_struct *tty)
+static unsigned int pty_write_room(struct tty_struct *tty)
 {
        if (tty->flow.stopped)
                return 0;