This patch will not at all impact the operation of the pvrusb2 driver, and if associating with the USB interface's device node is preferred then I'm fine with it.
Acked-by: Mike Isely <is...@pobox.com> Mauro: Is this series going to be pulled into v4l-dvb or shall I just bring this one specific change into my pvrusb2 repo? Is there any reason not to pull it? -Mike On Sun, 29 Mar 2009, Janne Grunau wrote: > # HG changeset patch > # User Janne Grunau <j...@jannau.net> > # Date 1238338428 -7200 > # Node ID 2d52ac089920f9ac36960c0245442fd89a06bb75 > # Parent 01af508490af3bc9c939c36001d6989e2c147aa0 > pvrusb2: use usb_interface.dev for v4l2_device_register > > Priority: normal > > Signed-off-by: Janne Grunau <j...@jannau.net> > > diff -r 01af508490af -r 2d52ac089920 > linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c > --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c Sun Mar 29 16:53:48 > 2009 +0200 > +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c Sun Mar 29 16:53:48 > 2009 +0200 > @@ -2591,7 +2591,7 @@ > hdw->ctl_read_urb = usb_alloc_urb(0,GFP_KERNEL); > if (!hdw->ctl_read_urb) goto fail; > > - if (v4l2_device_register(&usb_dev->dev, &hdw->v4l2_dev) != 0) { > + if (v4l2_device_register(&intf->dev, &hdw->v4l2_dev) != 0) { > pvr2_trace(PVR2_TRACE_ERROR_LEGS, > "Error registering with v4l core, giving up"); > goto fail; > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Mike Isely isely @ pobox (dot) com PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html