return video_usercopy(inode, file, cmd, arg, qcam_do_ioctl);
}
-static int qcam_read(struct file *file, char *buf,
- size_t count, loff_t *ppos)
+static ssize_t qcam_read(struct file *file, char *buf,
+ size_t count, loff_t *ppos)
{
struct video_device *v = video_devdata(file);
struct qcam_device *qcam=(struct qcam_device *)v;