]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-mediabus.h: use two __u16 instead of two __u32
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 5 Dec 2014 13:02:47 +0000 (10:02 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 17 Dec 2014 01:21:36 +0000 (23:21 -0200)
commitc913c5e61597d6cd9358fcd7921e31a186699477
treee8f49c7aab92ac1943476b902f605103672db9e9
parent8e5c6660c9e207dd195ec69aa1de10ae644b18ae
[media] v4l2-mediabus.h: use two __u16 instead of two __u32

The ycbcr_enc and quantization fields do not need a __u32. Switch to
two __u16 types, thus preserving alignment and avoiding holes in the
struct. This makes one more __u32 available for future expansion.

Suggested by Sakari Ailus.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/uapi/linux/v4l2-mediabus.h