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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/ttynull.c b/drivers/tty/ttynull.c
index 1d4438472442..6b74ebaa0f2d 100644
--- a/drivers/tty/ttynull.c
+++ b/drivers/tty/ttynull.c
@@ -29,8 +29,7 @@ static void ttynull_hangup(struct tty_struct *tty)
tty_port_hangup(&ttynull_port);
}
-static int ttynull_write(struct tty_struct *tty, const unsigned char *buf,
- int count)
+static int ttynull_write(struct tty_struct *tty, const u8 *buf, int count)
{
return count;
}