V4L/DVB (12724): v4l2-dev: add simple wrapper functions around the devnode numbers
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 7 Sep 2009 06:40:24 +0000 (03:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:19:31 +0000 (00:19 -0300)
commit5062cb70c828bd7b2a8223390ae836c5baa250b9
tree1a02e1f2b6d35c0a879403be85666b58699329aa
parent581644d9c95dd04aa46267aa0b6b5619d02b02ea
V4L/DVB (12724): v4l2-dev: add simple wrapper functions around the devnode numbers

There are some subtle differences in the way the devnode numbers are
handled depending on whether the FIXED_MINOR_RANGES config option is
set. Add some simple wrapper functions to handle that correctly.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c