diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-20 05:31:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-23 15:42:49 -0400 |
commit | 5e85e732f0ed56aa97a3ba26ac2b93ffe597a208 (patch) | |
tree | 899da0a99112d5e1b66d49d8561680f716798541 /drivers/media/video/cafe_ccic.c | |
parent | 27a5e6d3fcce73ceeee8f3bdc9a30c4564233800 (diff) |
V4L/DVB (8428): videodev: rename 'dev' to 'parent'
The field 'dev' is not the video device, but the parent of the video device.
Rename accordingly.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c index d99453faaab7..ebcc8ad6271f 100644 --- a/drivers/media/video/cafe_ccic.c +++ b/drivers/media/video/cafe_ccic.c | |||
@@ -2157,7 +2157,7 @@ static int cafe_pci_probe(struct pci_dev *pdev, | |||
2157 | cam->v4ldev = cafe_v4l_template; | 2157 | cam->v4ldev = cafe_v4l_template; |
2158 | cam->v4ldev.debug = 0; | 2158 | cam->v4ldev.debug = 0; |
2159 | // cam->v4ldev.debug = V4L2_DEBUG_IOCTL_ARG; | 2159 | // cam->v4ldev.debug = V4L2_DEBUG_IOCTL_ARG; |
2160 | cam->v4ldev.dev = &pdev->dev; | 2160 | cam->v4ldev.parent = &pdev->dev; |
2161 | ret = video_register_device(&cam->v4ldev, VFL_TYPE_GRABBER, -1); | 2161 | ret = video_register_device(&cam->v4ldev, VFL_TYPE_GRABBER, -1); |
2162 | if (ret) | 2162 | if (ret) |
2163 | goto out_smbus; | 2163 | goto out_smbus; |