From: Hans Verkuil Date: Fri, 13 Mar 2009 13:03:04 +0000 (-0300) Subject: V4L/DVB (10988): v4l2-dev: use parent field if the v4l2_device has no parent set. X-Git-Tag: v2.6.30-rc1~621^2~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=005759613b95264fba9138010f112bc138c857c2;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed