From: Hans Verkuil Date: Sun, 3 Mar 2013 23:12:31 +0000 (-0300) Subject: [media] v4l2-core: add code to check for specific ops X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2180f92def1921397f422f278b3cc65751b749cc;p=pandora-kernel.git [media] v4l2-core: add code to check for specific ops This patch adds a v4l2_subdev_has_op() macro and a v4l2_device_has_op macro to quickly check if a specific subdev or any subdev supports a particular subdev operation. This makes it easy for drivers to disable certain ioctls if none of the subdevs supports the necessary functionality. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed