V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
CC: Guennadi Liakhovetski <kernel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Andrew Morton 2008-04-22 14:45:59 -03:00 committed by Mauro Carvalho Chehab
parent e80faad3d7
commit aba360d8cc

View file

@ -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;