aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-03-27 15:08:20 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:20:23 -0400
commit2444163122c42f0f25db9b49a5e55c28eaf0b0f2 (patch)
treeab86e7cd19b1b9e703fd416169a41747a8ecd10a /drivers/media/video/gspca/gspca.c
parent5d3fa30ddcc93bb5e0078f67cfe8d277f6334c57 (diff)
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.c2
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,
1943 1943
1944 /* init video stuff */ 1944 /* init video stuff */
1945 memcpy(&gspca_dev->vdev, &gspca_template, sizeof gspca_template); 1945 memcpy(&gspca_dev->vdev, &gspca_template, sizeof gspca_template);
1946 gspca_dev->vdev.parent = &dev->dev; 1946 gspca_dev->vdev.parent = &intf->dev;
1947 gspca_dev->module = module; 1947 gspca_dev->module = module;
1948 gspca_dev->present = 1; 1948 gspca_dev->present = 1;
1949 ret = video_register_device(&gspca_dev->vdev, 1949 ret = video_register_device(&gspca_dev->vdev,