[media] v4l2-ctrls: introduce call_op define
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 25 May 2011 09:04:58 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:16 +0000 (17:53 -0300)
commit54c911eb919b44b178bda67564f274197872bd04
treea0425adc781440d841a0f44fe3d08b09af419919
parentc20eb18ce1db6792db69f0574f7e955e9f92a213
[media] v4l2-ctrls: introduce call_op define

Add the call_op define to safely call the control ops. This also allows
for controls without any ops such as the 'control class' controls.

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