summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zr364xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/zr364xx.c')
-rw-r--r--linux/drivers/media/video/zr364xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zr364xx.c b/linux/drivers/media/video/zr364xx.c
index 0afd1c9c1..c2abb3af9 100644
--- a/linux/drivers/media/video/zr364xx.c
+++ b/linux/drivers/media/video/zr364xx.c
@@ -395,7 +395,7 @@ static int read_frame(struct zr364xx_camera *cam, int framenum)
}
-static ssize_t zr364xx_read(struct file *file, char *buf, size_t cnt,
+static ssize_t zr364xx_read(struct file *file, char __user *buf, size_t cnt,
loff_t * ppos)
{
unsigned long count = cnt;