diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-12 20:37:57 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-12 20:37:57 +0000 |
commit | bb1dc56f21e19d067e30db2d1620d058e24d02aa (patch) | |
tree | b0f5692a6adf6c942ebcdcaae9cc83cf5e8e028e /linux/drivers/media/video/soc_camera.c | |
parent | 2cefaad562463e76d34b388d902df98703fd8600 (diff) | |
download | mediapointer-dvb-s2-bb1dc56f21e19d067e30db2d1620d058e24d02aa.tar.gz mediapointer-dvb-s2-bb1dc56f21e19d067e30db2d1620d058e24d02aa.tar.bz2 |
drivers/media/video/soc_camera.c: reads return size_t
From: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
CC: Guennadi Liakhovetski <kernel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/soc_camera.c')
-rw-r--r-- | linux/drivers/media/video/soc_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/soc_camera.c b/linux/drivers/media/video/soc_camera.c index bd8677cb1..91e1ab36f 100644 --- a/linux/drivers/media/video/soc_camera.c +++ b/linux/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; |