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>
This commit is contained in:
Родитель
5d3fa30ddc
Коммит
2444163122
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче