]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-ioctl.c: v4l2-ioctl: add debug and callback/offset functionality
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 22 Jun 2012 09:04:16 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 20:18:26 +0000 (17:18 -0300)
commitfbee5d55111afd1822753f64db9605dc919c2dfa
tree7b96a5387df5287b37d8fd72f88ad419e3fc1000
parent685b4d3f0f0aef3c9c1e8c655fa30f47fe1650b2
[media] v4l2-ioctl.c: v4l2-ioctl: add debug and callback/offset functionality

Add the necessary plumbing to make it possible to replace the switch by a
table driven implementation.

The ioctls ops can either be called directly, or by calling a small function
that does some additional work if needed.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c