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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/n_null.c b/drivers/tty/n_null.c
index 96feabae4740..ce03ae78f5c6 100644
--- a/drivers/tty/n_null.c
+++ b/drivers/tty/n_null.c
@@ -20,7 +20,8 @@ static void n_null_close(struct tty_struct *tty)
}
static ssize_t n_null_read(struct tty_struct *tty, struct file *file,
- unsigned char __user * buf, size_t nr)
+ unsigned char *buf, size_t nr,
+ void **cookie, unsigned long offset)
{
return -EOPNOTSUPP;
}