media: v4l2-tpg*.h: move headers to include/media/tpg and merge them

The v4l2-tpg*.h headers are meant to be used only internally by
vivid and vimc. There's no sense keeping them together with the
V4L2 kAPI headers. Also, one header includes the other as they're
meant to be used together. So, merge them.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab
2017-10-09 06:02:25 -04:00
parent 9fbe71b4d8
commit 1beb623bda
6 changed files with 48 additions and 73 deletions

View File

@@ -36,7 +36,7 @@
*/
#include <linux/videodev2.h>
#include <media/v4l2-tpg-colors.h>
#include <media/tpg/v4l2-tpg.h>
/* sRGB colors with range [0-255] */
const struct color tpg_colors[TPG_COLOR_MAX] = {

View File

@@ -21,7 +21,7 @@
*/
#include <linux/module.h>
#include <media/v4l2-tpg.h>
#include <media/tpg/v4l2-tpg.h>
/* Must remain in sync with enum tpg_pattern */
const char * const tpg_pattern_strings[] = {