From: Boris BREZILLON Date: Mon, 10 Nov 2014 17:28:35 +0000 (-0300) Subject: [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa1b4da6af67d5c6a4e933c2d30890c6f282f505;p=pandora-kernel.git [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 Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed