Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 119753a4 authored by Janne Grunau's avatar Janne Grunau Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (11358): w9968cf: use usb_interface.dev for v4l2_device_register

parent 4bb68510
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3440,7 +3440,7 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id)
	if (!cam)
		return -ENOMEM;

	err = v4l2_device_register(&udev->dev, &cam->v4l2_dev);
	err = v4l2_device_register(&intf->dev, &cam->v4l2_dev);
	if (err)
		goto fail0;