summaryrefslogtreecommitdiff
path: root/drivers/tty/ttynull.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/ttynull.c')
-rw-r--r--drivers/tty/ttynull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/ttynull.c b/drivers/tty/ttynull.c
index 17f05b7eb6d3..af3311a24917 100644
--- a/drivers/tty/ttynull.c
+++ b/drivers/tty/ttynull.c
@@ -35,7 +35,7 @@ static int ttynull_write(struct tty_struct *tty, const unsigned char *buf,
return count;
}
-static int ttynull_write_room(struct tty_struct *tty)
+static unsigned int ttynull_write_room(struct tty_struct *tty)
{
return 65536;
}