summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracerouter.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/n_tracerouter.c')
-rw-r--r--drivers/tty/n_tracerouter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/n_tracerouter.c b/drivers/tty/n_tracerouter.c
index 4479af4d2fa5..3490ed51b1a3 100644
--- a/drivers/tty/n_tracerouter.c
+++ b/drivers/tty/n_tracerouter.c
@@ -118,7 +118,9 @@ static void n_tracerouter_close(struct tty_struct *tty)
* -EINVAL
*/
static ssize_t n_tracerouter_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 -EINVAL;
}