mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 15:50:53 +07:00
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:
parent
5d3fa30ddc
commit
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,
|
||||
|
Loading…
Reference in New Issue
Block a user