From: Hans Verkuil Date: Mon, 10 Jun 2013 10:27:37 +0000 (-0300) Subject: [media] cx23885-417: use v4l2_dev instead of the deprecated parent field X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=874d91db7840d405d62450ac9b65867494ef7179;p=openwrt%2Fstaging%2Fblogic.git [media] cx23885-417: use v4l2_dev instead of the deprecated parent field Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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; }