Hans Verkuil 005759613b V4L/DVB (10988): v4l2-dev: use parent field if the v4l2_device has no parent set.
Normally the parent device of v4l2_device is used as the video device
node's parent. But if it was not set, then use the parent field in the
video_device struct.

This is needed in the cx88 driver, which has one core v4l2_device but
creates multiple pci devices (one each for raw and mpeg video).

So you cannot associate the core v4l2_device with a particular PCI device,
but you can do that for each video_device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30 12:43:20 -03:00
..
2009-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-27 20:13:20 -04:00
2009-03-28 20:29:51 +00:00