The patch number 10709 was added via Hans Verkuil <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Hans Verkuil  <[email protected]>
zoran: set correct parent of the video device.


Priority: normal

Signed-off-by: Hans Verkuil <[email protected]>


---

 linux/drivers/media/video/zoran/zoran_card.c |    1 +
 1 file changed, 1 insertion(+)

diff -r 6ac39f699f8b -r d977d8f8d200 
linux/drivers/media/video/zoran/zoran_card.c
--- a/linux/drivers/media/video/zoran/zoran_card.c      Wed Feb 18 17:51:13 
2009 +0100
+++ b/linux/drivers/media/video/zoran/zoran_card.c      Wed Feb 18 17:52:24 
2009 +0100
@@ -1138,6 +1138,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)


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/d977d8f8d200fc440f2164ac9a1e31b33c0c38d0

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to