struct em2820 *dev = video_get_drvdata(video_devdata(filp)); 
static int em2820_v4l2_ioctl(struct inode *inode, struct file *filp,			     unsigned int cmd, unsigned long arg){	struct em2820 *dev = video_get_drvdata(video_devdata(filp));	int ret = 0;	if (down_interruptible(&dev->fileop_lock))		return -ERESTARTSYS;	if (dev->state & DEV_DISCONNECTED) {		em2820_errdev("v4l2 ioctl: device not present\n");		up(&dev->fileop_lock);		return -ENODEV;	}	if (dev->state & DEV_MISCONFIGURED) {		em2820_errdev		    ("v4l2 ioctl: device is misconfigured; close and open it again\n");		up(&dev->fileop_lock);		return -EIO;	}	ret = video_usercopy(inode, filp, cmd, arg, em2820_video_do_ioctl);	up(&dev->fileop_lock);	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9c75541fc97252e605b7bc8f9b09f816483e22fb/em28xx-video.c/clean/drivers/media/video/em28xx/em28xx-video.c