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 bd8677cb1cabcf93573c7609afe826005db6f32d..91e1ab36fe5d110c44a18080bbdc31437e889e1e 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;