V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 22 Apr 2008 17:45:59 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:51 +0000 (14:07 -0300)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
CC: Guennadi Liakhovetski <kernel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/soc_camera.c

index bd8677c..91e1ab3 100644 (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;