v4l2-compliance: fix 32-bit compilation for v4l_fd_init()
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 1 Apr 2014 15:30:22 +0000 (17:30 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Tue, 1 Apr 2014 15:30:22 +0000 (17:30 +0200)
commitb4dc25b03cad32cf61c7ef6b0d23d767ebcb834a
tree4ed8888817c8218900079ed494421b1937aadafe
parent6c6c0816a4e687b1cc8bf839216b830261cbb692
v4l2-compliance: fix 32-bit compilation for v4l_fd_init()

Since mmap and v4l2_mmap have different prototypes (why?!) we have
to make a small wrapper to ensure that it compiles for both 32 and 64
bit systems.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l-helpers.h