From bb1dc56f21e19d067e30db2d1620d058e24d02aa Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 12 Mar 2008 20:37:57 +0000 Subject: drivers/media/video/soc_camera.c: reads return size_t From: Andrew Morton Signed-off-by: Andrew Morton CC: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/soc_camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/video/soc_camera.c') diff --git a/linux/drivers/media/video/soc_camera.c b/linux/drivers/media/video/soc_camera.c index bd8677cb1..91e1ab36f 100644 --- a/linux/drivers/media/video/soc_camera.c +++ b/linux/drivers/media/video/soc_camera.c @@ -269,7 +269,7 @@ static int soc_camera_close(struct inode *inode, struct file *file) return 0; } -static int soc_camera_read(struct file *file, char __user *buf, +static ssize_t soc_camera_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) { struct soc_camera_file *icf = file->private_data; -- cgit v1.2.3