]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: Replace enums with fixed-sized fields in public structure
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 6 Oct 2010 06:30:26 +0000 (03:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:53:22 +0000 (04:53 -0300)
commit2cdb9cb3fd8ec12f629a47f160255726847cd517
tree3af8309b6d671b718cc49a5f2e21cb842cbc740d
parent5b43a0a5db4b1ba0ace0c82d8abd7c9ed6d75891
[media] v4l: Replace enums with fixed-sized fields in public structure

The v4l2_mbus_framefmt structure will be part of the public userspace
API and used (albeit indirectly) as an ioctl argument. As such, its size
must be fixed across userspace ABIs.

Replace the v4l2_field and v4l2_colorspace enums by __u32 fields and add
padding for future enhancements.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/linux/v4l2-mediabus.h