[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)
commit86748f35da3e2eacd613c546d6fa67c2b6428be3
tree7b96a5387df5287b37d8fd72f88ad419e3fc1000
parent27cd2aba172dffb7819b9ca49a6a8acdbb8cf7e5
[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