Re: v4l: Add video_device_node_name function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans,

On Wednesday 18 November 2009 08:06:22 Hans Verkuil wrote:
> On Wednesday 18 November 2009 01:38:42 Laurent Pinchart wrote:
> > Many drivers access the device number (video_device::v4l2_devnode::num)
> > in order to print the video device node name. Add and use a helper
> > function to retrieve the video_device node name.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> 
> Can you also add a bit of documentation for this function in
> Documentation/video4linux/v4l2-framework.txt? It should go in the section
> "video_device helper functions".

Sure.

> And update that file as well when the num and minor fields go away.

The fields won't go away completely, as they're still needed by the v4l core. 
I will document them as private when no drivers will be using them anymore.
 
> The same is also true for the new registration function.

Ok.

Thanks for the review.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux