V4L/DVB (13549): v4l: Add video_device_node_name function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 27 Nov 2009 16:56:50 +0000 (13:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:17:54 +0000 (00:17 -0200)
commiteac8ea536aded07004bde917f05a2329902c64b0
treed083c2aee98e068e27ad4884dc905266709edfe8
parenta3a9e287daa1f299e318161b790b1c5902b1d869
V4L/DVB (13549): v4l: Add video_device_node_name function

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@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/v4l2-dev.c
include/media/v4l2-dev.h