diff options
Diffstat (limited to 'drivers/media/common/saa7146_fops.c')
-rw-r--r-- | drivers/media/common/saa7146_fops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c index 2d9fc2435f2b..3c11cff00475 100644 --- a/drivers/media/common/saa7146_fops.c +++ b/drivers/media/common/saa7146_fops.c | |||
@@ -194,7 +194,6 @@ void saa7146_buffer_timeout(unsigned long data) | |||
194 | 194 | ||
195 | static int fops_open(struct file *file) | 195 | static int fops_open(struct file *file) |
196 | { | 196 | { |
197 | unsigned int minor = video_devdata(file)->minor; | ||
198 | struct video_device *vdev = video_devdata(file); | 197 | struct video_device *vdev = video_devdata(file); |
199 | struct saa7146_dev *dev = video_drvdata(file); | 198 | struct saa7146_dev *dev = video_drvdata(file); |
200 | struct saa7146_fh *fh = NULL; | 199 | struct saa7146_fh *fh = NULL; |
@@ -202,7 +201,7 @@ static int fops_open(struct file *file) | |||
202 | 201 | ||
203 | enum v4l2_buf_type type; | 202 | enum v4l2_buf_type type; |
204 | 203 | ||
205 | DEB_EE(("file:%p, minor:%d\n", file, minor)); | 204 | DEB_EE(("file:%p, dev:%s\n", file, video_device_node_name(vdev))); |
206 | 205 | ||
207 | if (mutex_lock_interruptible(&saa7146_devices_lock)) | 206 | if (mutex_lock_interruptible(&saa7146_devices_lock)) |
208 | return -ERESTARTSYS; | 207 | return -ERESTARTSYS; |