Browse Source

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>
Andrew Morton 17 years ago
parent
commit
aba360d8cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/soc_camera.c

+ 1 - 1
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;