From: Andrew Morton Date: Tue, 22 Apr 2008 17:45:59 +0000 (-0300) Subject: V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t X-Git-Tag: v2.6.26-rc1~1084^2~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aba360d8cc086e12c3eb832f32d9e9813514e295;p=platform%2Fkernel%2Flinux-exynos.git V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t Signed-off-by: Andrew Morton CC: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index bd8677c..91e1ab3 100644 --- a/drivers/media/video/soc_camera.c +++ b/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;