aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-video.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c
index 726602935353..1596f4ff3dfe 100644
--- a/drivers/media/video/cx23885/cx23885-video.c
+++ b/drivers/media/video/cx23885/cx23885-video.c
@@ -320,8 +320,8 @@ static struct video_device *cx23885_vdev_init(struct cx23885_dev *dev,
320 if (NULL == vfd) 320 if (NULL == vfd)
321 return NULL; 321 return NULL;
322 *vfd = *template; 322 *vfd = *template;
323 vfd->minor = -1; 323 vfd->minor = -1;
324 vfd->parent = &pci->dev; 324 vfd->v4l2_dev = &dev->v4l2_dev;
325 vfd->release = video_device_release; 325 vfd->release = video_device_release;
326 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", 326 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)",
327 dev->name, type, cx23885_boards[dev->board].name); 327 dev->name, type, cx23885_boards[dev->board].name);