diff options
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-video.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c index e10f28cfef5e..e8ca8bb384d2 100644 --- a/drivers/media/video/cx23885/cx23885-video.c +++ b/drivers/media/video/cx23885/cx23885-video.c | |||
@@ -717,7 +717,6 @@ static int get_resource(struct cx23885_fh *fh) | |||
717 | 717 | ||
718 | static int video_open(struct file *file) | 718 | static int video_open(struct file *file) |
719 | { | 719 | { |
720 | int minor = video_devdata(file)->minor; | ||
721 | struct video_device *vdev = video_devdata(file); | 720 | struct video_device *vdev = video_devdata(file); |
722 | struct cx23885_dev *dev = video_drvdata(file); | 721 | struct cx23885_dev *dev = video_drvdata(file); |
723 | struct cx23885_fh *fh; | 722 | struct cx23885_fh *fh; |
@@ -736,8 +735,8 @@ static int video_open(struct file *file) | |||
736 | break; | 735 | break; |
737 | } | 736 | } |
738 | 737 | ||
739 | dprintk(1, "open minor=%d radio=%d type=%s\n", | 738 | dprintk(1, "open dev=%s radio=%d type=%s\n", |
740 | minor, radio, v4l2_type_names[type]); | 739 | video_device_node_name(vdev), radio, v4l2_type_names[type]); |
741 | 740 | ||
742 | /* allocate + initialize per filehandle data */ | 741 | /* allocate + initialize per filehandle data */ |
743 | fh = kzalloc(sizeof(*fh), GFP_KERNEL); | 742 | fh = kzalloc(sizeof(*fh), GFP_KERNEL); |