[media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 10 Nov 2014 17:28:35 +0000 (14:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 14 Nov 2014 19:56:18 +0000 (17:56 -0200)
commitaa1b4da6af67d5c6a4e933c2d30890c6f282f505
tree2b925dd9f63ab6361747cbf648f44b60f7a2030c
parent3e47608f2db93153bdaf3d78a604dcf8f8197059
[media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel
users don't have access to these definitions.

We have to keep this definition for user-space users even though they're
encouraged to move to the new media_bus_format enum.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
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
This page took 0.038546 seconds and 5 git commands to generate.