]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/hdpvr/hdpvr-core.c
V4L/DVB (11229): hdpvr: set usb interface dev as parent in struct video_device
[linux-2.6-omap-h63xx.git] / drivers / media / video / hdpvr / hdpvr-core.c
index e96aed42d19201353c147362489e5e1afb2978d3..2c49862b6d3264bd897695da272125a6b2c37dc7 100644 (file)
@@ -342,7 +342,7 @@ static int hdpvr_probe(struct usb_interface *interface,
        }
        mutex_unlock(&dev->io_mutex);
 
-       if (hdpvr_register_videodev(dev,
+       if (hdpvr_register_videodev(dev, &interface->dev,
                                    video_nr[atomic_inc_return(&dev_nr)])) {
                err("registering videodev failed");
                goto error;