diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-06-10 12:27:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-21 16:02:44 +0200 |
commit | 874d91db7840d405d62450ac9b65867494ef7179 (patch) | |
tree | 7c4e657e63645d51067c4161558b635e1d67c08f | |
parent | [media] soc_camera: replace vdev->parent by vdev->v4l2_dev (diff) | |
download | linux-874d91db7840d405d62450ac9b65867494ef7179.tar.xz linux-874d91db7840d405d62450ac9b65867494ef7179.zip |
[media] cx23885-417: use v4l2_dev instead of the deprecated parent field
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-417.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-417.c b/drivers/media/pci/cx23885/cx23885-417.c index f4f9ef0d98e2..e3fc2c71808a 100644 --- a/drivers/media/pci/cx23885/cx23885-417.c +++ b/drivers/media/pci/cx23885/cx23885-417.c @@ -1732,7 +1732,7 @@ static struct video_device *cx23885_video_dev_alloc( *vfd = *template; snprintf(vfd->name, sizeof(vfd->name), "%s (%s)", cx23885_boards[tsport->dev->board].name, type); - vfd->parent = &pci->dev; + vfd->v4l2_dev = &dev->v4l2_dev; vfd->release = video_device_release; return vfd; } |