aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cafe_ccic.c
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2007-03-25 10:35:56 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:45:02 -0400
commit018cfd51f682876fec682a33819964c1d6ed6794 (patch)
treec2079424d85cedac838f1a1d8d3f6c08f5efcacd /drivers/media/video/cafe_ccic.c
parent6b1ce3c1017adce52675ec72825f0b052a6af5d4 (diff)
V4L/DVB (5464): Set the PCI device in the V4L2 device
Set the PCI dev in the V4L2 dev so that the proper sysfs link gets made Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cafe_ccic.c')
-rw-r--r--drivers/media/video/cafe_ccic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c
index 4d4db7b2b611..b223efdc9ee3 100644
--- a/drivers/media/video/cafe_ccic.c
+++ b/drivers/media/video/cafe_ccic.c
@@ -2111,6 +2111,7 @@ static int cafe_pci_probe(struct pci_dev *pdev,
2111 cam->v4ldev = cafe_v4l_template; 2111 cam->v4ldev = cafe_v4l_template;
2112 cam->v4ldev.debug = 0; 2112 cam->v4ldev.debug = 0;
2113// cam->v4ldev.debug = V4L2_DEBUG_IOCTL_ARG; 2113// cam->v4ldev.debug = V4L2_DEBUG_IOCTL_ARG;
2114 cam->v4ldev.dev = &pdev->dev;
2114 ret = video_register_device(&cam->v4ldev, VFL_TYPE_GRABBER, -1); 2115 ret = video_register_device(&cam->v4ldev, VFL_TYPE_GRABBER, -1);
2115 if (ret) 2116 if (ret)
2116 goto out_smbus; 2117 goto out_smbus;