diff options
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-video.c')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-video.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index 3fc7a6fe8554..552dff5d6f1d 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/drivers/media/video/cx231xx/cx231xx-video.c | |||
@@ -1916,7 +1916,6 @@ static int radio_queryctrl(struct file *file, void *priv, | |||
1916 | */ | 1916 | */ |
1917 | static int cx231xx_v4l2_open(struct file *filp) | 1917 | static int cx231xx_v4l2_open(struct file *filp) |
1918 | { | 1918 | { |
1919 | int minor = video_devdata(filp)->minor; | ||
1920 | int errCode = 0, radio = 0; | 1919 | int errCode = 0, radio = 0; |
1921 | struct video_device *vdev = video_devdata(filp); | 1920 | struct video_device *vdev = video_devdata(filp); |
1922 | struct cx231xx *dev = video_drvdata(filp); | 1921 | struct cx231xx *dev = video_drvdata(filp); |
@@ -1937,8 +1936,9 @@ static int cx231xx_v4l2_open(struct file *filp) | |||
1937 | 1936 | ||
1938 | mutex_lock(&dev->lock); | 1937 | mutex_lock(&dev->lock); |
1939 | 1938 | ||
1940 | cx231xx_videodbg("open minor=%d type=%s users=%d\n", | 1939 | cx231xx_videodbg("open dev=%s type=%s users=%d\n", |
1941 | minor, v4l2_type_names[fh_type], dev->users); | 1940 | video_device_node_name(vdev), v4l2_type_names[fh_type], |
1941 | dev->users); | ||
1942 | 1942 | ||
1943 | #if 0 | 1943 | #if 0 |
1944 | errCode = cx231xx_set_mode(dev, CX231XX_ANALOG_MODE); | 1944 | errCode = cx231xx_set_mode(dev, CX231XX_ANALOG_MODE); |