[PATCH 2/3] v4l2: printings for all buf types

Dmitry V. Levin ldv at altlinux.org
Tue Apr 4 03:39:47 UTC 2017


On Wed, Mar 29, 2017 at 11:55:43PM +0300, Edgar Kaziahmedov wrote:
[...]
> +	/* since Linux 4.4 */
> +#if HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT
> +	case V4L2_BUF_TYPE_SDR_OUTPUT:
> +#endif
> +	/* since Linux 3.15 */
>  #if HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE
>  	case V4L2_BUF_TYPE_SDR_CAPTURE:
> -	case V4L2_BUF_TYPE_SDR_OUTPUT:

Note that HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT and
HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE are magically defined only if
V4L2_BUF_TYPE_SDR_CAPTURE and V4L2_BUF_TYPE_SDR_OUTPUT are listed
in the appropriate AC_CHECK_DECLS section of configure.ac file.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170404/c172d029/attachment.bin>


More information about the Strace-devel mailing list