upstream: [media] v4l2: allow v4l2_subdev_edid to be used with video nodes
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 4 Mar 2014 10:46:47 +0000 (07:46 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:57 +0000 (11:54 +0900)
commitb5fe5c40b01b92a17e340cfb799dbc2e5fa2cd9d
treea99a4d881ce997442d9b44a6daf1810393499220
parentb20892e42c5426ba7b7934dd89e5ade875be8b86
upstream: [media] v4l2: allow v4l2_subdev_edid to be used with video nodes

Struct v4l2_subdev_edid and the VIDIOC_SUBDEV_G/S_EDID ioctls were
specific for subdevices, but for hardware with a simple video pipeline
you do not need/want to create subdevice nodes to just get/set the EDID.

Move the v4l2_subdev_edid struct to v4l2-common.h and rename as
v4l2_edid. Add the same ioctls to videodev2.h as well, thus allowing
this API to be used with both video nodes and v4l-subdev nodes.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/uapi/linux/v4l2-common.h
include/uapi/linux/v4l2-subdev.h
include/uapi/linux/videodev2.h