MLK-24874-3: include: uapi: mxc_v4l2: fix the UAPI_HEADER_TEST failure
Eanble CONFIG_UAPI_HEADER_TEST turns out the following build issues: HDRTEST usr/include/linux/mxc_v4l2.h In file included from <command-line>:32:0: ./usr/include/linux/mxc_v4l2.h:52:2: error: unknown type name ‘uint32_t’ uint32_t u_offset; ^~~~~~~~ ./usr/include/linux/mxc_v4l2.h:53:2: error: unknown type name ‘uint32_t’ uint32_t v_offset; ^~~~~~~~ ./usr/include/linux/mxc_v4l2.h:57:2: error: unknown type name ‘__u32’ __u32 type; /* enum v4l2_buf_type */ ^~~~~ The fix is to add the necessary header file into mxc_v4l2.h Signed-off-by: Jason Liu <jason.hui.liu@nxp.com> (cherry picked from commit ca2be4571361d04aa291e0ed0fcb755feba8783a)zero-colors
parent
215ccb3784
commit
c7a21c0448
|
@ -29,6 +29,11 @@
|
|||
#ifndef __ASM_ARCH_MXC_V4L2_H__
|
||||
#define __ASM_ARCH_MXC_V4L2_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
#ifndef __KERNEL__
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* For IPUv1 and IPUv3, V4L2_CID_MXC_ROT means encoder ioctl ID.
|
||||
* And V4L2_CID_MXC_VF_ROT is viewfinder ioctl ID only for IPUv1 and IPUv3.
|
||||
|
|
Loading…
Reference in New Issue