summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-06-10 07:27:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 11:02:44 -0300
commit874d91db7840d405d62450ac9b65867494ef7179 (patch)
tree7c4e657e63645d51067c4161558b635e1d67c08f
parent14381c26771f1a7d6acc57e4c944a9813596e6cf (diff)
downloadop-kernel-dev-874d91db7840d405d62450ac9b65867494ef7179.zip
op-kernel-dev-874d91db7840d405d62450ac9b65867494ef7179.tar.gz
[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.c2
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 f4f9ef0..e3fc2c7 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;
}
OpenPOWER on IntegriCloud