diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-03-27 20:08:20 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 23:20:23 +0200 |
commit | 2444163122c42f0f25db9b49a5e55c28eaf0b0f2 (patch) | |
tree | ab86e7cd19b1b9e703fd416169a41747a8ecd10a /drivers/media/video/gspca/gspca.c | |
parent | V4L/DVB (11447): gspca - mr97310a: Return good error code in mod_init. (diff) | |
download | linux-2444163122c42f0f25db9b49a5e55c28eaf0b0f2.tar.xz linux-2444163122c42f0f25db9b49a5e55c28eaf0b0f2.zip |
V4L/DVB (11448): gspca - main: Use usb interface as parent.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index a2741d7dccfe..93902e828e7f 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c @@ -1943,7 +1943,7 @@ int gspca_dev_probe(struct usb_interface *intf, /* init video stuff */ memcpy(&gspca_dev->vdev, &gspca_template, sizeof gspca_template); - gspca_dev->vdev.parent = &dev->dev; + gspca_dev->vdev.parent = &intf->dev; gspca_dev->module = module; gspca_dev->present = 1; ret = video_register_device(&gspca_dev->vdev, |