return 0;
}
-static int go7007_do_ioctl(struct inode *inode, struct file *file,
- unsigned int cmd, void *arg)
+static long go7007_do_ioctl(struct file *file, unsigned int cmd, void *arg)
{
struct go7007_file *gofh = file->private_data;
struct go7007 *go = gofh->go;
if (gofh->go->status != STATUS_ONLINE)
return -EIO;
- return video_usercopy(inode, file, cmd, arg, go7007_do_ioctl);
+ return video_usercopy(file, cmd, arg, go7007_do_ioctl);
}
static ssize_t go7007_read(struct file *file, char __user *data,