media: v4l2-common.h: put backwards compat defines under #ifndef __KERNEL__
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 4 Oct 2018 20:30:04 +0000 (16:30 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 20 Nov 2018 18:22:40 +0000 (13:22 -0500)
commit177bbc67812d96dfec517ef293017ca614a0955a
tree63ed8e114b86fc4d52303129d1c159e73ef72a8b
parent5b79da06f74ef4c099b814972803cd25131f901f
media: v4l2-common.h: put backwards compat defines under #ifndef __KERNEL__

This ensures that they won't be used in kernel code.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
include/uapi/linux/v4l2-common.h