projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbd83b
)
V4L/DVB (10709): zoran: set correct parent of the video device.
author
Hans Verkuil
<hverkuil@xs4all.nl>
Wed, 18 Feb 2009 16:52:24 +0000
(13:52 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:56 +0000
(12:42 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_card.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/zoran/zoran_card.c
b/drivers/media/video/zoran/zoran_card.c
index 5d2f090aa0f82c12aa3adec4daed69bffea4d63a..1ad9ed48dbdbf4db1415260058e2d14a3a72140a 100644
(file)
--- a/
drivers/media/video/zoran/zoran_card.c
+++ b/
drivers/media/video/zoran/zoran_card.c
@@
-1137,6
+1137,7
@@
zr36057_init (struct zoran *zr)
* Now add the template and register the device unit.
*/
memcpy(zr->video_dev, &zoran_template, sizeof(zoran_template));
+ zr->video_dev->parent = &zr->pci_dev->dev;
strcpy(zr->video_dev->name, ZR_DEVNAME(zr));
err = video_register_device(zr->video_dev, VFL_TYPE_GRABBER, video_nr[zr->id]);
if (err < 0)