From: Laurent Pinchart Date: Wed, 6 Oct 2010 06:30:26 +0000 (-0300) Subject: [media] v4l: Replace enums with fixed-sized fields in public structure X-Git-Tag: v2.6.39-rc1~86^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84d0688dfc7eedb2147532bf52ff7073d5c3c7b9;p=pandora-kernel.git [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 Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed