[media] v4l: Add custom compat_ioctl32 operation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 18 Dec 2011 23:41:19 +0000 (20:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 19 Mar 2012 17:06:12 +0000 (14:06 -0300)
commitb9d0aa6e211039548f1480a5838398d517f1c3a9
tree2e1a6bab9e8d9c393c6a2af528bbe0bc0a91e215
parentf769c26085ee0945fba3ba0ea48781770a8c81e2
[media] v4l: Add custom compat_ioctl32 operation

Drivers implementing custom ioctls need to handle 32-bit/64-bit
compatibility themselves. Provide them with a way to do so.

To avoid circular module dependencies, merge the v4l2-compat-ioctl32
module into videodev. There is no point in keeping them separate, as the
v4l2_compat_ioctl32() function is required by videodev if CONFIG_COMPAT
is set anyway.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Makefile
drivers/media/video/v4l2-compat-ioctl32.c
include/media/v4l2-dev.h