media: mpeg2-ctrls.h: move MPEG2 state controls to non-public header
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 5 Dec 2018 11:28:20 +0000 (06:28 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Dec 2018 18:06:31 +0000 (13:06 -0500)
commit9514063498cbff9a351f4bc25e1b1bfca8eccb7a
tree8a3aa0fec69a241214c9617c514109256ec2af0e
parentdaa3fc4454b21ac883152d07b4778bc4f83ec716
media: mpeg2-ctrls.h: move MPEG2 state controls to non-public header

The MPEG2 state controls for the cedrus stateless MPEG2 driver are
not yet stable. Move them out of the public headers into media/mpeg2-ctrls.h.

Eventually, once this has stabilized, they will be moved back to the
public headers.

Unfortunately I had to cast the control type to a u32 in two switch
statements to prevent a compiler warning about a control type define
not being part of the enum.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/mpeg2-ctrls.h [new file with mode: 0644]
include/media/v4l2-ctrls.h
include/uapi/linux/v4l2-controls.h
include/uapi/linux/videodev2.h