Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 874d91db authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] cx23885-417: use v4l2_dev instead of the deprecated parent field

parent 14381c26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}