summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracesink.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/n_tracesink.c')
-rw-r--r--drivers/tty/n_tracesink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/n_tracesink.c b/drivers/tty/n_tracesink.c
index d96ba82cc356..1d9931041fd8 100644
--- a/drivers/tty/n_tracesink.c
+++ b/drivers/tty/n_tracesink.c
@@ -115,7 +115,9 @@ static void n_tracesink_close(struct tty_struct *tty)
* -EINVAL
*/
static ssize_t n_tracesink_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;
}