summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/n_null.c')
-rw-r--r--drivers/tty/n_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/n_null.c b/drivers/tty/n_null.c
index b8f67b5f1ef8..2ff373d2f98d 100644
--- a/drivers/tty/n_null.c
+++ b/drivers/tty/n_null.c
@@ -33,7 +33,7 @@ static ssize_t n_null_write(struct tty_struct *tty, struct file *file,
}
static void n_null_receivebuf(struct tty_struct *tty,
- const unsigned char *cp, char *fp,
+ const unsigned char *cp, const char *fp,
int cnt)
{
}